public class CentroidWritable extends Object implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
CentroidWritable() |
CentroidWritable(Centroid centroid) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Centroid |
getCentroid() |
int |
hashCode() |
static Centroid |
read(DataInput dataInput) |
void |
readFields(DataInput dataInput) |
String |
toString() |
void |
write(DataOutput dataOutput) |
public CentroidWritable()
public CentroidWritable(Centroid centroid)
public Centroid getCentroid()
public void write(DataOutput dataOutput) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput dataInput) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic static Centroid read(DataInput dataInput) throws IOException
IOExceptionCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.