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.
- Author:
- mf 2007.07.05, rhl 2010.01.26
- See Also:
-
Field Summary
Fields inherited from class WrapperCollections.AbstractWrapperCollection
m_colDelegate -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor.protectedAbstractWrapperSet(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 WrapperCollections.AbstractWrapperCollection
add, addAll, clear, contains, containsAll, equals, forEach, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
AbstractWrapperSet
protected AbstractWrapperSet()Default constructor. -
AbstractWrapperSet
-
-
Method Details
-
getDelegate
Return the Set to which all operations should be delegated to.- Overrides:
getDelegatein classWrapperCollections.AbstractWrapperCollection<E>- Returns:
- the wrapped Set
-