public class WeightedPair extends WeightedCell
MatrixValue.CellIndex| Constructor and Description |
|---|
WeightedPair() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o) |
void |
copy(MatrixValue that) |
boolean |
equals(Object o) |
double |
getOtherValue() |
int |
hashCode() |
void |
readFields(DataInput in) |
void |
setOtherValue(double ov) |
String |
toString() |
void |
write(DataOutput out) |
aggregateUnaryOperations, denseScalarOperationsInPlace, getValue, getWeight, reorgOperations, scalarOperations, setWeight, sparseScalarOperationsInPlace, sparseUnaryOperationsInPlace, unaryOperationsaggregateUnaryOperations, append, binaryOperations, binaryOperationsInPlace, compareTo, copy, ctableOperations, ctableOperations, ctableOperations, ctableOperations, ctableOperations, getNonZeros, getNumColumns, getNumRows, getValue, incrementalAggregate, incrementalAggregate, isEmpty, isInSparseFormat, replaceOperations, reset, reset, reset, reset, reset, setValue, setValue, slice, zeroOutOperationspublic String toString()
toString in class WeightedCellpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritablereadFields in class WeightedCellIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.Writablewrite in class WeightedCellIOExceptionpublic void copy(MatrixValue that)
copy in class WeightedCellpublic double getOtherValue()
public void setOtherValue(double ov)
public int compareTo(Object o)
compareTo in interface ComparablecompareTo in class WeightedCellpublic boolean equals(Object o)
equals in class WeightedCellpublic int hashCode()
hashCode in class WeightedCellCopyright © 2020 The Apache Software Foundation. All rights reserved.