Class KamiSet<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<E>
java.util.LinkedHashSet<E>
com.kamikazejam.kamicommon.util.collections.KamiSet<E>
- All Implemented Interfaces:
Serializable, Cloneable, Iterable<E>, Collection<E>, SequencedCollection<E>, SequencedSet<E>, Set<E>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanremoveAll(Collection<?> c) booleanretainAll(@NotNull Collection<?> c) Methods inherited from class LinkedHashSet
addFirst, addLast, getFirst, getLast, newLinkedHashSet, removeFirst, removeLast, reversed, spliteratorMethods inherited from class HashSet
add, clear, clone, contains, isEmpty, iterator, newHashSet, remove, size, toArray, toArrayMethods inherited from class AbstractSet
equals, hashCodeMethods inherited from class AbstractCollection
addAll, containsAll, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
KamiSet
public KamiSet(int initialCapacity, float loadFactor) -
KamiSet
public KamiSet(int initialCapacity) -
KamiSet
public KamiSet() -
KamiSet
-
KamiSet
-
-
Method Details
-
removeAll
- Specified by:
removeAllin interfaceCollection<E>- Specified by:
removeAllin interfaceSet<E>- Overrides:
removeAllin classAbstractSet<E>
-
retainAll
- Specified by:
retainAllin interfaceCollection<E>- Specified by:
retainAllin interfaceSet<E>- Overrides:
retainAllin classAbstractCollection<E>
-