public final class ComparableToObject<K extends Comparable<? super K>,V> extends Object implements KeyValue<K,V>
Constructor and Description |
---|
ComparableToObject(K aKey,
V avalue) |
public final K extends Comparable<? super K> key
public final V value
public int compareTo(KeyValue<K,?> aReference)
compareTo
in interface Comparable<KeyValue<K extends Comparable<? super K>,?>>
public K getKey()
public V getValue()
Copyright © 2019 Optimatika. All rights reserved.