Class BaseMapCollection<E>
java.lang.Object
ca.spottedleaf.concurrentutil.map.BaseMapCollection<E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>
- Direct Known Subclasses:
BaseMapSet,ConcurrentChainedInt2ObjectHashTable.Values,ConcurrentChainedInt2ReferenceHashTable.Values,ConcurrentChainedLong2ObjectHashTable.Values,ConcurrentChainedLong2ReferenceHashTable.Values,ConcurrentChainedObject2ObjectHashTable.Values,ConcurrentChainedObject2ReferenceHashTable.Values,ConcurrentChainedReference2ObjectHashTable.Values,ConcurrentChainedReference2ReferenceHashTable.Values
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends E> collection) asList()voidclear()abstract booleanbooleancontainsAll(Collection<?> collection) voidabstract booleanisEmpty()abstract BaseObjectIterator<E> iterator()booleanbooleanremoveAll(Collection<?> collection) booleanbooleanretainAll(Collection<?> collection) abstract intsize()Object[]toArray()<T> T[]toArray(IntFunction<T[]> generator) <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
equals, hashCode, parallelStream, spliterator, stream
-
Constructor Details
-
BaseMapCollection
public BaseMapCollection()
-
-
Method Details
-
size
public abstract int size()- Specified by:
sizein interfaceCollection<E>
-
isEmpty
public abstract boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<E>
-
contains
- Specified by:
containsin interfaceCollection<E>
-
asList
-
iterator
-
forEach
-
toArray
- Specified by:
toArrayin interfaceCollection<E>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceCollection<E>
-
toArray
- Specified by:
toArrayin interfaceCollection<E>
-
containsAll
- Specified by:
containsAllin interfaceCollection<E>
-
add
- Specified by:
addin interfaceCollection<E>
-
remove
- Specified by:
removein interfaceCollection<E>
-
addAll
- Specified by:
addAllin interfaceCollection<E>
-
removeAll
- Specified by:
removeAllin interfaceCollection<E>
-
removeIf
- Specified by:
removeIfin interfaceCollection<E>
-
retainAll
- Specified by:
retainAllin interfaceCollection<E>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<E>
-