org.geotools.data.shapefile.indexed.attribute
Class IndexRecord

java.lang.Object
  extended by org.geotools.data.shapefile.indexed.attribute.IndexRecord
All Implemented Interfaces:
java.lang.Comparable

public class IndexRecord
extends java.lang.Object
implements java.lang.Comparable

Record stored in attribute index file

Author:
Manuele Ventoruzzo

Constructor Summary
IndexRecord(java.lang.Comparable attribute, long featureID)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 java.lang.Object getAttribute()
           
 long getFeatureID()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IndexRecord

public IndexRecord(java.lang.Comparable attribute,
                   long featureID)
Method Detail

getAttribute

public java.lang.Object getAttribute()

getFeatureID

public long getFeatureID()

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 1996-2010 Geotools. All Rights Reserved.