net.minecraft.util
Class IntHashMap

java.lang.Object
  extended by net.minecraft.util.IntHashMap

public class IntHashMap
extends Object


Constructor Summary
IntHashMap()
           
 
Method Summary
 void addKey(int par1, Object par2Obj)
          Adds a key and associated value to this map
 void clearMap()
          Removes all entries from the map
 boolean containsItem(int par1)
          Return true if an object is associated with the given key
 Set getKeySet()
           
 Object lookup(int par1)
          Returns the object associated to a key
 Object removeObject(int par1)
          Removes the specified object from the map and returns it
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntHashMap

public IntHashMap()
Method Detail

lookup

public Object lookup(int par1)
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

public void addKey(int par1,
                   Object par2Obj)
Adds a key and associated value to this map


removeObject

public Object removeObject(int par1)
Removes the specified object from the map and returns it


clearMap

public void clearMap()
Removes all entries from the map


getKeySet

public Set getKeySet()