Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


com.tangosol.util
Class UnsafeSubSet.WrapperSet

java.lang.Object
  extended by com.tangosol.util.WrapperCollections.AbstractWrapperCollection
      extended by com.tangosol.util.WrapperCollections.AbstractWrapperSet
          extended by com.tangosol.util.UnsafeSubSet.WrapperSet

All Implemented Interfaces:
java.lang.Iterable, java.util.Collection, java.util.Set
Enclosing class:
UnsafeSubSet

protected static class UnsafeSubSet.WrapperSet
extends WrapperCollections.AbstractWrapperSet

The WrapperSet wraps a Set to provide a hook for initialization.


Constructor Summary
protected UnsafeSubSet.WrapperSet(java.util.Set set)
          Construct a new WrapperSet based upon the assigned set.

 

Method Summary
protected  java.util.Set getDelegate()
          Return the Set to which all operations should be delegated to.
protected  void initialize()
          Initialize the underlying set.
 boolean isInitialized()
          Check if the underlying set has been initialized.

 

Methods inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperCollection
add, addAll, 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

UnsafeSubSet.WrapperSet

protected UnsafeSubSet.WrapperSet(java.util.Set set)
Construct a new WrapperSet based upon the assigned set.
Parameters:
set - the Set to realize when calling the delegate

Method Detail

getDelegate

protected java.util.Set getDelegate()
Return the Set to which all operations should be delegated to.
Overrides:
getDelegate in class WrapperCollections.AbstractWrapperSet
Returns:
the wrapped Set

initialize

protected void initialize()
Initialize the underlying set.

isInitialized

public boolean isInitialized()
Check if the underlying set has been initialized.
Returns:
true iff the underlying set has been initialized

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.