public final class MapEntry<K extends Comparable<? super K>,V> extends Object implements Map.Entry<K,V>, KeyValue<K,V>
Constructor and Description |
---|
MapEntry(K aKey,
V aValue) |
MapEntry(Map.Entry<K,V> anEntry) |
MapEntry(Map<K,V> aMap,
K aKey) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(KeyValue<K,?> aReference) |
boolean |
equals(Object obj) |
K |
getKey() |
V |
getValue() |
int |
hashCode() |
V |
setValue(V aValue) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparingByKey, comparingByKey, comparingByValue, comparingByValue
public int compareTo(KeyValue<K,?> aReference)
compareTo
in interface Comparable<KeyValue<K extends Comparable<? super K>,?>>
public boolean equals(Object obj)
public K getKey()
public V getValue()
public int hashCode()
Copyright © 2019 Optimatika. All rights reserved.