K - key typepublic static class MapToolkit.IntEntry<K> extends EntryHashMap.Entry<K> implements java.lang.Comparable<MapToolkit.IntEntry<K>>
MapToolkit.createIntMap(int, float).| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(MapToolkit.IntEntry<K> o) |
boolean |
equals(java.lang.Object obj) |
int |
getValue()
Get the entry value.
|
int |
hashCode() |
void |
setValue(int value)
Set the entry value.
|
getKeyprivate IntEntry(K key)
public int compareTo(MapToolkit.IntEntry<K> o)
compareTo in interface java.lang.Comparable<MapToolkit.IntEntry<K>>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int getValue()
public void setValue(int value)
value - the value corresponding to this entry