org.geotools.caching.grid.spatialindex
Class GridData
java.lang.Object
org.geotools.caching.grid.spatialindex.GridData
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, Data<java.lang.Object>, Entry
public class GridData
- extends java.lang.Object
- implements Data<java.lang.Object>, java.io.Externalizable
Associates data with its shape to be stored in the index.
- Author:
- Christophe Rousson, SoC 2007, CRG-ULAVAL
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
GridData
public GridData()
GridData
public GridData(Shape shape,
java.lang.Object data)
getData
public java.lang.Object getData()
- Specified by:
getData
in interface Data<java.lang.Object>
getShape
public Shape getShape()
- Specified by:
getShape
in interface Entry
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
getFeatureMarshaller
public static SimpleFeatureMarshaller getFeatureMarshaller()
Copyright © 1996-2010 Geotools. All Rights Reserved.