|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.me.parabola.util.Sortable<K,V>
public class Sortable<K extends java.lang.Comparable,V>
Constructor Summary | |
---|---|
Sortable(K key,
V value)
|
Method Summary | |
---|---|
int |
compareTo(Sortable<K,V> o)
|
K |
getKey()
|
V |
getValue()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Sortable(K key, V value)
Method Detail |
---|
public K getKey()
public V getValue()
public int compareTo(Sortable<K,V> o)
compareTo
in interface java.lang.Comparable<Sortable<K extends java.lang.Comparable,V>>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |