org.geotools.caching.spatialindex
Class RegionNodeIdentifier
java.lang.Object
org.geotools.caching.spatialindex.NodeIdentifier
org.geotools.caching.spatialindex.RegionNodeIdentifier
- All Implemented Interfaces:
- java.io.Serializable
public final class RegionNodeIdentifier
- extends NodeIdentifier
Identify nodes by the region they represent.
- Author:
- crousson
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
RegionNodeIdentifier
public RegionNodeIdentifier(Node n)
- Identify a new node.
- Parameters:
node
-
RegionNodeIdentifier
public RegionNodeIdentifier(Region r)
getShape
public Shape getShape()
- Returns a copy of the nodes shape
- Specified by:
getShape
in class NodeIdentifier
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
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 1996-2010 Geotools. All Rights Reserved.