iitb.con.util
Class KeyList.Entry<K extends java.lang.Comparable<K>,V>

java.lang.Object
  extended by iitb.con.util.KeyList.Entry<K,V>
Type Parameters:
K - Key
V - Value
All Implemented Interfaces:
java.lang.Comparable<KeyList.Entry<K,V>>
Enclosing class:
KeyList<K extends java.lang.Comparable<K>,V>

public static class KeyList.Entry<K extends java.lang.Comparable<K>,V>
extends java.lang.Object
implements java.lang.Comparable<KeyList.Entry<K,V>>

Generic class for key-value pair data


Constructor Summary
KeyList.Entry()
           
KeyList.Entry(K key, V value)
           
 
Method Summary
 int compareTo(KeyList.Entry<K,V> node)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyList.Entry

public KeyList.Entry()

KeyList.Entry

public KeyList.Entry(K key,
                     V value)
Method Detail

compareTo

public int compareTo(KeyList.Entry<K,V> node)
Specified by:
compareTo in interface java.lang.Comparable<KeyList.Entry<K extends java.lang.Comparable<K>,V>>