Class ConcurrentLong2ReferenceChainedHashTable.BaseCollection<V,E>
java.lang.Object
ca.spottedleaf.concurrentutil.map.ConcurrentLong2ReferenceChainedHashTable.BaseCollection<V,E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>
- Direct Known Subclasses:
ConcurrentLong2ReferenceChainedHashTable.EntrySet,ConcurrentLong2ReferenceChainedHashTable.Values
- Enclosing class:
ConcurrentLong2ReferenceChainedHashTable<V>
protected abstract static class ConcurrentLong2ReferenceChainedHashTable.BaseCollection<V,E>
extends Object
implements Collection<E>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends E> collection) voidclear()booleancontainsAll(Collection<?> collection) voidbooleanisEmpty()booleanbooleanremoveAll(Collection<?> collection) booleanbooleanretainAll(Collection<?> collection) intsize()Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
contains, equals, hashCode, iterator, parallelStream, spliterator, stream, toArray
-
Field Details
-
map
-
-
Constructor Details
-
BaseCollection
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection<V>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<V>
-
forEach
-
toArray
- Specified by:
toArrayin interfaceCollection<V>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceCollection<V>
-
containsAll
- Specified by:
containsAllin interfaceCollection<V>
-
add
- Specified by:
addin interfaceCollection<V>
-
remove
- Specified by:
removein interfaceCollection<V>
-
addAll
- Specified by:
addAllin interfaceCollection<V>
-
removeAll
- Specified by:
removeAllin interfaceCollection<V>
-
removeIf
- Specified by:
removeIfin interfaceCollection<V>
-
retainAll
- Specified by:
retainAllin interfaceCollection<V>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<V>
-