com.xmlmind.util
Class KeyValuePair<K,V>

java.lang.Object
  extended by com.xmlmind.util.KeyValuePair<K,V>

public final class KeyValuePair<K,V>
extends java.lang.Object

A key/value pair returned by some of the iterators of LinearHashtable.


Field Summary
 K key
          The hashed key.
 V value
          The value associated to the above key.
 
Constructor Summary
KeyValuePair()
           
KeyValuePair(K key, V value)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

public K key
The hashed key. May not be null.


value

public V value
The value associated to the above key. May not be null.

Constructor Detail

KeyValuePair

public KeyValuePair()

KeyValuePair

public KeyValuePair(K key,
                    V value)