public class PointWritable
extends java.lang.Object
| Constructor and Description |
|---|
PointWritable()
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
getOrds()
Gets the point ordinates array
|
void |
readFields(java.io.DataInput input) |
void |
setOrds(double[] ords)
Sets the point ordinates
|
java.lang.String |
toString() |
void |
write(java.io.DataOutput output) |
public double[] getOrds()
public void readFields(java.io.DataInput input)
throws java.io.IOException
java.io.IOExceptionpublic void setOrds(double[] ords)
ords - an ordinates arraypublic java.lang.String toString()
toString in class java.lang.Object
public void write(java.io.DataOutput output)
throws java.io.IOException
java.io.IOExceptionCopyright © 2017 Oracle and/or its affiliates. All Rights Reserved.