Package zombie.util.set
Class IntOpenHashSet
java.lang.Object
zombie.util.AbstractIntCollection
zombie.util.set.AbstractIntSet
zombie.util.set.IntOpenHashSet
- All Implemented Interfaces:
Serializable
,Cloneable
,IntCollection
,IntSet
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final double
static final double
-
Constructor Summary
ConstructorDescriptionIntOpenHashSet
(double double1) IntOpenHashSet
(int int1) IntOpenHashSet
(int[] intArray) IntOpenHashSet
(int int1, double double1) IntOpenHashSet
(int int1, double double1, double double2) IntOpenHashSet
(int int1, double double1, int int2) IntOpenHashSet
(IntHashFunction intHashFunction) IntOpenHashSet
(IntHashFunction intHashFunction, double double1) IntOpenHashSet
(IntHashFunction intHashFunction, int int1) IntOpenHashSet
(IntHashFunction intHashFunction, int int1, double double1) IntOpenHashSet
(IntHashFunction intHashFunction, int int1, double double1, double double2) IntOpenHashSet
(IntHashFunction intHashFunction, int int1, double double1, int int2) IntOpenHashSet
(IntCollection intCollection) -
Method Summary
Methods inherited from class zombie.util.set.AbstractIntSet
equals
Methods inherited from class zombie.util.AbstractIntCollection
addAll, containsAll, isEmpty, removeAll, retainAll, toArray, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface zombie.util.IntCollection
addAll, containsAll, equals, isEmpty, removeAll, retainAll, toArray
-
Field Details
-
DEFAULT_GROWTH_FACTOR
public static final double DEFAULT_GROWTH_FACTOR- See Also:
-
DEFAULT_GROWTH_CHUNK
public static final int DEFAULT_GROWTH_CHUNK- See Also:
-
DEFAULT_CAPACITY
public static final int DEFAULT_CAPACITY- See Also:
-
DEFAULT_LOAD_FACTOR
public static final double DEFAULT_LOAD_FACTOR- See Also:
-
-
Constructor Details
-
IntOpenHashSet
public IntOpenHashSet() -
IntOpenHashSet
-
IntOpenHashSet
public IntOpenHashSet(int[] intArray) -
IntOpenHashSet
public IntOpenHashSet(int int1) -
IntOpenHashSet
public IntOpenHashSet(double double1) -
IntOpenHashSet
public IntOpenHashSet(int int1, double double1) -
IntOpenHashSet
public IntOpenHashSet(int int1, double double1, double double2) -
IntOpenHashSet
public IntOpenHashSet(int int1, double double1, int int2) -
IntOpenHashSet
-
IntOpenHashSet
-
IntOpenHashSet
-
IntOpenHashSet
-
IntOpenHashSet
-
IntOpenHashSet
-
-
Method Details
-
add
public boolean add(int int1) - Specified by:
add
in interfaceIntCollection
- Overrides:
add
in classAbstractIntCollection
-
iterator
- Specified by:
iterator
in interfaceIntCollection
-
trimToSize
public void trimToSize()- Specified by:
trimToSize
in interfaceIntCollection
- Overrides:
trimToSize
in classAbstractIntCollection
-
clone
-
size
public int size()- Specified by:
size
in interfaceIntCollection
- Overrides:
size
in classAbstractIntCollection
-
clear
public void clear()- Specified by:
clear
in interfaceIntCollection
- Overrides:
clear
in classAbstractIntCollection
-
contains
public boolean contains(int int1) - Specified by:
contains
in interfaceIntCollection
- Overrides:
contains
in classAbstractIntCollection
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceIntCollection
- Overrides:
hashCode
in classAbstractIntSet
-
remove
public boolean remove(int int1) - Specified by:
remove
in interfaceIntCollection
- Overrides:
remove
in classAbstractIntCollection
-
toArray
public int[] toArray(int[] intArray) - Specified by:
toArray
in interfaceIntCollection
- Overrides:
toArray
in classAbstractIntCollection
-