Package com.mchange.v1.identicator
Class IdHashSet
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet
com.mchange.v1.identicator.IdHashSet
- All Implemented Interfaces:
Iterable
,Collection
,Set
-
Constructor Summary
ConstructorDescriptionIdHashSet
(int initialCapacity, float loadFactor, Identicator id) IdHashSet
(int initialCapacity, Identicator id) IdHashSet
(Identicator id) IdHashSet
(Collection c, Identicator id) -
Method Summary
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
IdHashSet
-
IdHashSet
-
IdHashSet
-
IdHashSet
-
-
Method Details
-
iterator
- Specified by:
iterator
in interfaceCollection
- Specified by:
iterator
in interfaceIterable
- Specified by:
iterator
in interfaceSet
- Specified by:
iterator
in classAbstractCollection
-
size
public int size()- Specified by:
size
in interfaceCollection
- Specified by:
size
in interfaceSet
- Specified by:
size
in classAbstractCollection
-
contains
- Specified by:
contains
in interfaceCollection
- Specified by:
contains
in interfaceSet
- Overrides:
contains
in classAbstractCollection
-
add
- Specified by:
add
in interfaceCollection
- Specified by:
add
in interfaceSet
- Overrides:
add
in classAbstractCollection
-
remove
- Specified by:
remove
in interfaceCollection
- Specified by:
remove
in interfaceSet
- Overrides:
remove
in classAbstractCollection
-
clear
public void clear()- Specified by:
clear
in interfaceCollection
- Specified by:
clear
in interfaceSet
- Overrides:
clear
in classAbstractCollection
-