Package com.tangosol.util
Class WrapperCollections.AbstractWrapperSet<E>
java.lang.Object
com.tangosol.util.WrapperCollections.AbstractWrapperCollection<E>
com.tangosol.util.WrapperCollections.AbstractWrapperSet<E>
- All Implemented Interfaces:
Serializable
,Iterable<E>
,Collection<E>
,Set<E>
- Direct Known Subclasses:
ImmutableArrayList.SetView
,ImmutableMultiList.SetView
,WrapperCollections.AbstractWrapperSortedSet
- Enclosing class:
WrapperCollections
public abstract static class WrapperCollections.AbstractWrapperSet<E>
extends WrapperCollections.AbstractWrapperCollection<E>
implements Set<E>
Set implementation which delegates all calls to another Set.
- See Also:
-
Field Summary
Fields inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperCollection
m_colDelegate
-
Constructor Summary
ModifierConstructorDescriptionprotected
Default constructor.protected
AbstractWrapperSet
(Set<E> set) Create an AbstractWrapperSet which delegates to the specified Set. -
Method Summary
Modifier and TypeMethodDescriptionReturn the Set to which all operations should be delegated to.Methods inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperCollection
add, addAll, clear, contains, containsAll, equals, forEach, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, 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
-
AbstractWrapperSet
protected AbstractWrapperSet()Default constructor. -
AbstractWrapperSet
Create an AbstractWrapperSet which delegates to the specified Set.- Parameters:
set
- the Set to delegate all calls to
-
-
Method Details
-
getDelegate
Return the Set to which all operations should be delegated to.- Overrides:
getDelegate
in classWrapperCollections.AbstractWrapperCollection<E>
- Returns:
- the wrapped Set
-