messif.buckets.index.impl
Class LongStorageMemoryIndex.KeyAddressPair<K>

java.lang.Object
  extended by messif.buckets.index.impl.LongStorageMemoryIndex.KeyAddressPair<K>
Type Parameters:
K - the type of keys this index is ordered by
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
LongStorageMemoryIndex<K,T>

protected static class LongStorageMemoryIndex.KeyAddressPair<K>
extends java.lang.Object
implements java.io.Serializable

Class encapsulating the key and long position in the storage.

See Also:
Serialized Form

Field Summary
 K key
           
 long position
           
 
Constructor Summary
LongStorageMemoryIndex.KeyAddressPair(K key, long position)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

public final K key

position

public final long position
Constructor Detail

LongStorageMemoryIndex.KeyAddressPair

public LongStorageMemoryIndex.KeyAddressPair(K key,
                                             long position)