public static class KNN.TextWithDistance extends java.lang.Object implements java.lang.Cloneable, TextSerializable
Constructor and Description |
---|
KNN.TextWithDistance() |
Modifier and Type | Method and Description |
---|---|
protected KNN.TextWithDistance |
clone() |
boolean |
equals(java.lang.Object obj) |
void |
fromText(Text t)
Retrieve information from the given text.
|
int |
hashCode() |
void |
readFields(java.io.DataInput in) |
java.lang.String |
toString() |
Text |
toText(Text t)
Store current object as string in the given text appending text already there.
|
void |
write(java.io.DataOutput out) |
public void write(java.io.DataOutput out) throws java.io.IOException
java.io.IOException
public void readFields(java.io.DataInput in) throws java.io.IOException
java.io.IOException
public Text toText(Text t)
TextSerializable
toText
in interface TextSerializable
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public void fromText(Text t)
TextSerializable
fromText
in interface TextSerializable
public java.lang.String toString()
toString
in class java.lang.Object
protected KNN.TextWithDistance clone()
clone
in class java.lang.Object