Class ZomboidHashMap

java.lang.Object
zombie.core.Collections.ZomboidAbstractMap
zombie.core.Collections.ZomboidHashMap
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public class ZomboidHashMap
extends ZomboidAbstractMap
implements java.util.Map, java.lang.Cloneable, java.io.Serializable
See Also:
Serialized Form
  • Nested Class Summary

    Nested classes/interfaces inherited from class zombie.core.Collections.ZomboidAbstractMap

    ZomboidAbstractMap.SimpleEntry, ZomboidAbstractMap.SimpleImmutableEntry
  • Constructor Summary

    Constructors
    Constructor Description
    ZomboidHashMap()  
    ZomboidHashMap​(int int1)  
    ZomboidHashMap​(int int1, float float1)  
    ZomboidHashMap​(java.util.Map map)  
  • Method Summary

    Modifier and Type Method Description
    void clear()  
    java.lang.Object clone()  
    boolean containsKey​(java.lang.Object object)  
    boolean containsValue​(java.lang.Object object)  
    java.util.Set entrySet()  
    java.lang.Object get​(java.lang.Object object)  
    boolean isEmpty()  
    java.util.Set keySet()  
    java.lang.Object put​(java.lang.Object object, java.lang.Object object2)  
    void putAll​(java.util.Map map)  
    java.lang.Object remove​(java.lang.Object object)  
    int size()  
    java.util.Collection values()  

    Methods inherited from class zombie.core.Collections.ZomboidAbstractMap

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface java.util.Map

    compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
  • Constructor Details

    • ZomboidHashMap

      public ZomboidHashMap​(int int1, float float1)
    • ZomboidHashMap

      public ZomboidHashMap​(int int1)
    • ZomboidHashMap

      public ZomboidHashMap()
    • ZomboidHashMap

      public ZomboidHashMap​(java.util.Map map)
  • Method Details

    • size

      public int size()
      Specified by:
      size in interface java.util.Map
      Overrides:
      size in class ZomboidAbstractMap
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface java.util.Map
      Overrides:
      isEmpty in class ZomboidAbstractMap
    • get

      public java.lang.Object get​(java.lang.Object object)
      Specified by:
      get in interface java.util.Map
      Overrides:
      get in class ZomboidAbstractMap
    • containsKey

      public boolean containsKey​(java.lang.Object object)
      Specified by:
      containsKey in interface java.util.Map
      Overrides:
      containsKey in class ZomboidAbstractMap
    • put

      public java.lang.Object put​(java.lang.Object object, java.lang.Object object2)
      Specified by:
      put in interface java.util.Map
      Overrides:
      put in class ZomboidAbstractMap
    • putAll

      public void putAll​(java.util.Map map)
      Specified by:
      putAll in interface java.util.Map
      Overrides:
      putAll in class ZomboidAbstractMap
    • remove

      public java.lang.Object remove​(java.lang.Object object)
      Specified by:
      remove in interface java.util.Map
      Overrides:
      remove in class ZomboidAbstractMap
    • clear

      public void clear()
      Specified by:
      clear in interface java.util.Map
      Overrides:
      clear in class ZomboidAbstractMap
    • containsValue

      public boolean containsValue​(java.lang.Object object)
      Specified by:
      containsValue in interface java.util.Map
      Overrides:
      containsValue in class ZomboidAbstractMap
    • clone

      public java.lang.Object clone()
      Overrides:
      clone in class ZomboidAbstractMap
    • keySet

      public java.util.Set keySet()
      Specified by:
      keySet in interface java.util.Map
      Overrides:
      keySet in class ZomboidAbstractMap
    • values

      public java.util.Collection values()
      Specified by:
      values in interface java.util.Map
      Overrides:
      values in class ZomboidAbstractMap
    • entrySet

      public java.util.Set entrySet()
      Specified by:
      entrySet in interface java.util.Map
      Specified by:
      entrySet in class ZomboidAbstractMap