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 intDEFAULT_CAPACITYstatic intDEFAULT_GROWTH_CHUNKstatic doubleDEFAULT_GROWTH_FACTORstatic doubleDEFAULT_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
equalsMethods inherited from class zombie.util.AbstractIntCollection
addAll, containsAll, isEmpty, removeAll, retainAll, toArray, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
addin interfaceIntCollection- Overrides:
addin classAbstractIntCollection
-
iterator
- Specified by:
iteratorin interfaceIntCollection
-
trimToSize
public void trimToSize()- Specified by:
trimToSizein interfaceIntCollection- Overrides:
trimToSizein classAbstractIntCollection
-
clone
public java.lang.Object clone()- Overrides:
clonein classjava.lang.Object
-
size
public int size()- Specified by:
sizein interfaceIntCollection- Overrides:
sizein classAbstractIntCollection
-
clear
public void clear()- Specified by:
clearin interfaceIntCollection- Overrides:
clearin classAbstractIntCollection
-
contains
public boolean contains(int int1)- Specified by:
containsin interfaceIntCollection- Overrides:
containsin classAbstractIntCollection
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceIntCollection- Overrides:
hashCodein classAbstractIntSet
-
remove
public boolean remove(int int1)- Specified by:
removein interfaceIntCollection- Overrides:
removein classAbstractIntCollection
-
toArray
public int[] toArray(int[] intArray)- Specified by:
toArrayin interfaceIntCollection- Overrides:
toArrayin classAbstractIntCollection
-