CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation

com.tangosol.util
Class RestrictedCollections.RestrictedSet

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.util.RestrictedCollections.RestrictedCollection
          extended by 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.


Field Summary
 
Fields inherited from class com.tangosol.util.RestrictedCollections.RestrictedCollection
m_clz, m_col
 
Constructor Summary
RestrictedCollections.RestrictedSet(Set set, Class clz)
          Constructor.
 
Method Summary
 
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
 

Constructor Detail

RestrictedCollections.RestrictedSet

public RestrictedCollections.RestrictedSet(Set set,
                                           Class clz)
Constructor.

Parameters:
set - the underlying Set
clz - the class of objects that may be stored in the Set

CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation