org.deegree_impl.io.shpapi
Class DBaseIndex.KeyEntry

java.lang.Object
  extended byorg.deegree_impl.io.shpapi.DBaseIndex.KeyEntry
Enclosing class:
DBaseIndex

private class DBaseIndex.KeyEntry
extends java.lang.Object

Inner class for the key entries


Field Summary
(package private)  java.lang.Comparable data
           
(package private)  int lower
           
(package private)  int record
           
 
Constructor Summary
(package private) DBaseIndex.KeyEntry(int lower, int record)
          Read an existing KeyEntry
(package private) DBaseIndex.KeyEntry(int lower, int record, java.lang.Comparable data)
          Construct a new KeyEntry
 
Method Summary
(package private)  int compareTo(java.lang.Comparable key)
          Compare this key entry to another key
(package private)  void read()
          Read data from current file position
(package private)  void write()
          Write data to current file position
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lower

int lower

record

int record

data

java.lang.Comparable data
Constructor Detail

DBaseIndex.KeyEntry

DBaseIndex.KeyEntry(int lower,
                    int record,
                    java.lang.Comparable data)
Construct a new KeyEntry


DBaseIndex.KeyEntry

DBaseIndex.KeyEntry(int lower,
                    int record)
              throws java.io.IOException
Read an existing KeyEntry

Method Detail

compareTo

int compareTo(java.lang.Comparable key)
Compare this key entry to another key


read

void read()
    throws java.io.IOException
Read data from current file position

Throws:
java.io.IOException

write

void write()
     throws java.io.IOException
Write data to current file position

Throws:
java.io.IOException