com.tangosol.util
Class RestrictedCollections.RestrictedSet
java.lang.Object
com.tangosol.util.Base
com.tangosol.util.RestrictedCollections.RestrictedCollection
com.tangosol.util.RestrictedCollections.RestrictedSet
- All Implemented Interfaces:
- Serializable, Iterable, Collection, Set
- Direct Known Subclasses:
- RestrictedCollections.RestrictedSortedSet
- Enclosing class:
- RestrictedCollections
public static class RestrictedCollections.RestrictedSet
- extends RestrictedCollections.RestrictedCollection
- implements Set, Serializable
A restricted Set that requires its contents to be of a
specified class.
Methods inherited from class com.tangosol.util.RestrictedCollections.RestrictedCollection |
add, addAll, checkObject, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString |
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
RestrictedCollections.RestrictedSet
public RestrictedCollections.RestrictedSet(Set set,
Class clz)
- Constructor.
- Parameters:
set
- the underlying Setclz
- the class of objects that may be stored in the
Set