Class AbstractIntKeyMap

java.lang.Object
zombie.util.map.AbstractIntKeyMap
All Implemented Interfaces:
IntKeyMap
Direct Known Subclasses:
IntKeyOpenHashMap

public abstract class AbstractIntKeyMap
extends java.lang.Object
implements IntKeyMap
  • Constructor Summary

    Constructors
    Modifier Constructor Description
    protected AbstractIntKeyMap()  
  • Method Summary

    Modifier and Type Method Description
    void clear()  
    boolean containsKey​(int key)  
    boolean containsValue​(java.lang.Object value)  
    boolean equals​(java.lang.Object obj)  
    java.lang.Object get​(int key)  
    int hashCode()  
    boolean isEmpty()  
    void putAll​(IntKeyMap map)  
    java.lang.Object remove​(int key)  
    int size()  
    java.lang.String toString()  
    void trimToSize()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface zombie.util.map.IntKeyMap

    entries, keySet, put, values
  • Constructor Details

    • AbstractIntKeyMap

      protected AbstractIntKeyMap()
  • Method Details

    • clear

      public void clear()
      Specified by:
      clear in interface IntKeyMap
    • remove

      public java.lang.Object remove​(int key)
      Specified by:
      remove in interface IntKeyMap
    • putAll

      public void putAll​(IntKeyMap map)
      Specified by:
      putAll in interface IntKeyMap
    • containsKey

      public boolean containsKey​(int key)
      Specified by:
      containsKey in interface IntKeyMap
    • get

      public java.lang.Object get​(int key)
      Specified by:
      get in interface IntKeyMap
    • containsValue

      public boolean containsValue​(java.lang.Object value)
      Specified by:
      containsValue in interface IntKeyMap
    • equals

      public boolean equals​(java.lang.Object obj)
      Specified by:
      equals in interface IntKeyMap
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface IntKeyMap
      Overrides:
      hashCode in class java.lang.Object
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface IntKeyMap
    • size

      public int size()
      Specified by:
      size in interface IntKeyMap
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • trimToSize

      public void trimToSize()