Package zombie.util.map
Class IntKeyOpenHashMap
java.lang.Object
zombie.util.map.AbstractIntKeyMap
zombie.util.map.IntKeyOpenHashMap
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,IntKeyMap
public class IntKeyOpenHashMap extends AbstractIntKeyMap implements IntKeyMap, java.lang.Cloneable, java.io.Serializable
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_CAPACITY
static int
DEFAULT_GROWTH_CHUNK
static double
DEFAULT_GROWTH_FACTOR
static double
DEFAULT_LOAD_FACTOR
-
Constructor Summary
Constructors Constructor Description IntKeyOpenHashMap()
IntKeyOpenHashMap(double double1)
IntKeyOpenHashMap(int int1)
IntKeyOpenHashMap(int int1, double double1)
IntKeyOpenHashMap(int int1, double double1, double double2)
IntKeyOpenHashMap(int int1, double double1, int int2)
IntKeyOpenHashMap(IntHashFunction intHashFunction)
IntKeyOpenHashMap(IntHashFunction intHashFunction, double double1)
IntKeyOpenHashMap(IntHashFunction intHashFunction, int int1)
IntKeyOpenHashMap(IntHashFunction intHashFunction, int int1, double double1)
IntKeyOpenHashMap(IntHashFunction intHashFunction, int int1, double double1, double double2)
IntKeyOpenHashMap(IntHashFunction intHashFunction, int int1, double double1, int int2)
IntKeyOpenHashMap(IntKeyMap intKeyMap)
-
Method Summary
Modifier and Type Method Description void
clear()
java.lang.Object
clone()
boolean
containsKey(int int1)
boolean
containsValue(java.lang.Object object)
IntKeyMapIterator
entries()
java.lang.Object
get(int int1)
boolean
isEmpty()
IntSet
keySet()
java.lang.Object
put(int int1, java.lang.Object object)
java.lang.Object
remove(int int1)
int
size()
java.util.Collection
values()
Methods inherited from class zombie.util.map.AbstractIntKeyMap
equals, hashCode, putAll, toString, trimToSize
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
DEFAULT_GROWTH_FACTOR
public static final double DEFAULT_GROWTH_FACTOR- See Also:
- Constant Field Values
-
DEFAULT_GROWTH_CHUNK
public static final int DEFAULT_GROWTH_CHUNK- See Also:
- Constant Field Values
-
DEFAULT_CAPACITY
public static final int DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
DEFAULT_LOAD_FACTOR
public static final double DEFAULT_LOAD_FACTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
IntKeyOpenHashMap
public IntKeyOpenHashMap() -
IntKeyOpenHashMap
-
IntKeyOpenHashMap
public IntKeyOpenHashMap(int int1) -
IntKeyOpenHashMap
public IntKeyOpenHashMap(double double1) -
IntKeyOpenHashMap
public IntKeyOpenHashMap(int int1, double double1) -
IntKeyOpenHashMap
public IntKeyOpenHashMap(int int1, double double1, double double2) -
IntKeyOpenHashMap
public IntKeyOpenHashMap(int int1, double double1, int int2) -
IntKeyOpenHashMap
-
IntKeyOpenHashMap
-
IntKeyOpenHashMap
-
IntKeyOpenHashMap
-
IntKeyOpenHashMap
public IntKeyOpenHashMap(IntHashFunction intHashFunction, int int1, double double1, double double2) -
IntKeyOpenHashMap
-
-
Method Details
-
keySet
-
put
public java.lang.Object put(int int1, java.lang.Object object) -
values
public java.util.Collection values() -
clone
public java.lang.Object clone()- Overrides:
clone
in classjava.lang.Object
-
entries
-
clear
public void clear()- Specified by:
clear
in interfaceIntKeyMap
- Overrides:
clear
in classAbstractIntKeyMap
-
containsKey
public boolean containsKey(int int1)- Specified by:
containsKey
in interfaceIntKeyMap
- Overrides:
containsKey
in classAbstractIntKeyMap
-
containsValue
public boolean containsValue(java.lang.Object object)- Specified by:
containsValue
in interfaceIntKeyMap
- Overrides:
containsValue
in classAbstractIntKeyMap
-
get
public java.lang.Object get(int int1)- Specified by:
get
in interfaceIntKeyMap
- Overrides:
get
in classAbstractIntKeyMap
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceIntKeyMap
- Overrides:
isEmpty
in classAbstractIntKeyMap
-
remove
public java.lang.Object remove(int int1)- Specified by:
remove
in interfaceIntKeyMap
- Overrides:
remove
in classAbstractIntKeyMap
-
size
public int size()- Specified by:
size
in interfaceIntKeyMap
- Overrides:
size
in classAbstractIntKeyMap
-