Class MapToolkit.IntEntry<K>
java.lang.Object
org.openjdk.jmc.common.collection.EntryHashMap.Entry<K>
org.openjdk.jmc.common.collection.MapToolkit.IntEntry<K>
- Type Parameters:
K
- key type
- All Implemented Interfaces:
Comparable<MapToolkit.IntEntry<K>>
- Enclosing class:
- MapToolkit
public static class MapToolkit.IntEntry<K>
extends EntryHashMap.Entry<K>
implements Comparable<MapToolkit.IntEntry<K>>
A map entry used to store integer values. Used by maps created with
MapToolkit.createIntMap(int, float)
.-
Method Summary
Methods inherited from class org.openjdk.jmc.common.collection.EntryHashMap.Entry
getKey
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<K>
-
equals
-
hashCode
public int hashCode() -
getValue
public int getValue()Get the entry value.- Returns:
- the value corresponding to this entry
-
setValue
public void setValue(int value) Set the entry value.- Parameters:
value
- the value corresponding to this entry
-