public class WeightedPair extends WeightedCell
MatrixValue.CellIndex
weight
value
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, unaryOperations
aggregateUnaryOperations, 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, zeroOutOperations
public String toString()
toString
in class WeightedCell
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
readFields
in class WeightedCell
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
write
in class WeightedCell
IOException
public void copy(MatrixValue that)
copy
in class WeightedCell
public double getOtherValue()
public void setOtherValue(double ov)
public int compareTo(Object o)
compareTo
in interface Comparable
compareTo
in class WeightedCell
public boolean equals(Object o)
equals
in class WeightedCell
public int hashCode()
hashCode
in class WeightedCell
Copyright © 2018 The Apache Software Foundation. All rights reserved.