Skip navigation links

Oracle® Coherence Java API Reference
v3.5.1

E15583-01


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:
java.io.Serializable, java.lang.Iterable, java.util.Collection, java.util.Set
Direct Known Subclasses:
RestrictedCollections.RestrictedSortedSet
Enclosing class:
RestrictedCollections

public static class RestrictedCollections.RestrictedSet
extends RestrictedCollections.RestrictedCollection
implements java.util.Set, java.io.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(java.util.Set set, java.lang.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(java.util.Set set,
                                           java.lang.Class clz)
Constructor.
Parameters:
set - the underlying Set
clz - the class of objects that may be stored in the Set

Skip navigation links

Oracle® Coherence Java API Reference
v3.5.1

E15583-01


Copyright © 2000, 2009, Oracle. All rights reserved.