Package zombie.util.set
Class IntOpenHashSet
java.lang.Object
zombie.util.AbstractIntCollection
zombie.util.set.AbstractIntSet
zombie.util.set.IntOpenHashSet
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,IntCollection
,IntSet
public class IntOpenHashSet extends AbstractIntSet implements IntSet, 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 IntOpenHashSet()
IntOpenHashSet(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:
- 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
-
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
public java.lang.Object clone()- Overrides:
clone
in classjava.lang.Object
-
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
-