Package zombie.core.Collections
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 interfacejava.util.Map
- Overrides:
size
in classZomboidAbstractMap
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfacejava.util.Map
- Overrides:
isEmpty
in classZomboidAbstractMap
-
get
public java.lang.Object get(java.lang.Object object)- Specified by:
get
in interfacejava.util.Map
- Overrides:
get
in classZomboidAbstractMap
-
containsKey
public boolean containsKey(java.lang.Object object)- Specified by:
containsKey
in interfacejava.util.Map
- Overrides:
containsKey
in classZomboidAbstractMap
-
put
public java.lang.Object put(java.lang.Object object, java.lang.Object object2)- Specified by:
put
in interfacejava.util.Map
- Overrides:
put
in classZomboidAbstractMap
-
putAll
public void putAll(java.util.Map map)- Specified by:
putAll
in interfacejava.util.Map
- Overrides:
putAll
in classZomboidAbstractMap
-
remove
public java.lang.Object remove(java.lang.Object object)- Specified by:
remove
in interfacejava.util.Map
- Overrides:
remove
in classZomboidAbstractMap
-
clear
public void clear()- Specified by:
clear
in interfacejava.util.Map
- Overrides:
clear
in classZomboidAbstractMap
-
containsValue
public boolean containsValue(java.lang.Object object)- Specified by:
containsValue
in interfacejava.util.Map
- Overrides:
containsValue
in classZomboidAbstractMap
-
clone
public java.lang.Object clone()- Overrides:
clone
in classZomboidAbstractMap
-
keySet
public java.util.Set keySet()- Specified by:
keySet
in interfacejava.util.Map
- Overrides:
keySet
in classZomboidAbstractMap
-
values
public java.util.Collection values()- Specified by:
values
in interfacejava.util.Map
- Overrides:
values
in classZomboidAbstractMap
-
entrySet
public java.util.Set entrySet()- Specified by:
entrySet
in interfacejava.util.Map
- Specified by:
entrySet
in classZomboidAbstractMap
-