Package one.microstream.collections.old
Class BridgeXCollection<E>
java.lang.Object
one.microstream.collections.old.BridgeXCollection<E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>,OldCollection<E>
- Direct Known Subclasses:
LockedCollection.OldMutexCollection,SynchCollection.OldSynchCollection
public class BridgeXCollection<E> extends Object implements OldCollection<E>
-
Constructor Summary
Constructors Modifier Constructor Description protectedBridgeXCollection(XCollection<E> collection) -
Method Summary
Modifier and Type Method Description booleanadd(E e)booleanaddAll(Collection<? extends E> c)voidclear()booleancontains(Object o)booleancontainsAll(Collection<?> c)booleanisEmpty()Iterator<E>iterator()XCollection<E>parent()booleanremove(Object o)booleanremoveAll(Collection<?> c)booleanretainAll(Collection<?> c)intsize()Object[]toArray()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, removeIf, spliterator, stream, toArray
-
Constructor Details
-
Method Details
-
parent
- Specified by:
parentin interfaceOldCollection<E>
-
add
- Specified by:
addin interfaceCollection<E>
-
addAll
- Specified by:
addAllin interfaceCollection<E>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<E>
-
contains
- Specified by:
containsin interfaceCollection<E>
-
containsAll
- Specified by:
containsAllin interfaceCollection<E>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<E>
-
iterator
-
remove
- Specified by:
removein interfaceCollection<E>
-
removeAll
- Specified by:
removeAllin interfaceCollection<E>
-
retainAll
- Specified by:
retainAllin interfaceCollection<E>
-
size
public int size()- Specified by:
sizein interfaceCollection<E>
-
toArray
- Specified by:
toArrayin interfaceCollection<E>
-