public class JGeometryWritable
extends java.lang.Object
implements java.io.Serializable
A writable wrapper for the JGeometry class.
| Constructor and Description | 
|---|
JGeometryWritable()
Creates an empty instance 
 | 
JGeometryWritable(JGeometry geometry)
Creates a new instance containing the given JGeometry 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(java.lang.Object obj)  | 
JGeometry | 
getGeometry()
Gets the current JGeometry instance 
 | 
void | 
readFields(java.io.DataInput in)  | 
void | 
set(JGeometryWritable geomW)
Copies the content of another JGeometryWritable instance. 
 | 
void | 
setGeometry(JGeometry geometry)
Sets the current JGeometry instance 
 | 
void | 
write(java.io.DataOutput out)  | 
public JGeometryWritable()
public JGeometryWritable(JGeometry geometry)
geometry - A JGeometry instancepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic JGeometry getGeometry()
public void readFields(java.io.DataInput in)
                throws java.io.IOException
java.io.IOExceptionpublic void set(JGeometryWritable geomW)
geomW -public void setGeometry(JGeometry geometry)
geometry - a JGeometry instance
public void write(java.io.DataOutput out)
           throws java.io.IOException
java.io.IOExceptionCopyright © 2016 Oracle and/or its affiliates. All Rights Reserved.