Package net.minecraft.util.math
Class IntHashMap<V>
- java.lang.Object
-
- net.minecraft.util.math.IntHashMap<V>
-
public class IntHashMap<V> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IntHashMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addKey(int p_76038_1_, V p_76038_2_)
Adds a key and associated value to this mapvoid
clearMap()
Removes all entries from the mapboolean
containsItem(int p_76037_1_)
Returns true if this hash table contains the specified item.V
lookup(int p_76041_1_)
Returns the object associated to a keyV
removeObject(int p_76049_1_)
Removes the specified object from the map and returns it
-
-
-
Method Detail
-
lookup
public V lookup(int p_76041_1_)
Returns the object associated to a key
-
containsItem
public boolean containsItem(int p_76037_1_)
Returns true if this hash table contains the specified item.
-
addKey
public void addKey(int p_76038_1_, V p_76038_2_)
Adds a key and associated value to this map
-
removeObject
public V removeObject(int p_76049_1_)
Removes the specified object from the map and returns it
-
clearMap
public void clearMap()
Removes all entries from the map
-
-