Class 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 map
      void clearMap()
      Removes all entries from the map
      boolean 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 key
      V removeObject​(int p_76049_1_)
      Removes the specified object from the map and returns it
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IntHashMap

        public IntHashMap()
    • 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