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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperCollection
m_colDelegate
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractWrapperSet()
Default constructor.protected
AbstractWrapperSet(Set<E> set)
Create an AbstractWrapperSet which delegates to the specified Set.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Set<E>
getDelegate()
Return 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
-
-
-
-
Method Detail
-
getDelegate
protected Set<E> getDelegate()
Return the Set to which all operations should be delegated to.- Overrides:
getDelegate
in classWrapperCollections.AbstractWrapperCollection<E>
- Returns:
- the wrapped Set
-
-