Package net.minecraft.src
Class IntHashMap
java.lang.Object
net.minecraft.src.IntHashMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a key and associated value to this mapvoidclearMap()Removes all entries from the mapbooleancontainsItem(int par1) Return true if an object is associated with the given keylookup(int par1) Returns the object associated to a keyremoveObject(int par1) Removes the specified object from the map and returns it
-
Constructor Details
-
IntHashMap
public IntHashMap()
-
-
Method Details
-
lookup
Returns the object associated to a key -
containsItem
public boolean containsItem(int par1) Return true if an object is associated with the given key -
addKey
Adds a key and associated value to this map -
removeObject
Removes the specified object from the map and returns it -
clearMap
public void clearMap()Removes all entries from the map
-