JUtil

net.cscott.jutil
Class SetWrapper<E>

java.lang.Object
  extended by net.cscott.jutil.CollectionWrapper<E>
      extended by net.cscott.jutil.SetWrapper<E>
All Implemented Interfaces:
Iterable<E>, Collection<E>, Set<E>
Direct Known Subclasses:
UnmodifiableMapSet

public abstract class SetWrapper<E>
extends CollectionWrapper<E>
implements Set<E>

SetWrapper is analogous to CollectionWrapper, specialized for Sets.

Version:
$Id: SetWrapper.java,v 1.3 2006-10-30 19:58:07 cananian Exp $
Author:
Felix S. Klock II

Constructor Summary
protected SetWrapper()
           
 
Method Summary
protected abstract  Set<E> wrapped()
          Implementations should return the wrapped Set here.
 
Methods inherited from class net.cscott.jutil.CollectionWrapper
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

SetWrapper

protected SetWrapper()
Method Detail

wrapped

protected abstract Set<E> wrapped()
Implementations should return the wrapped Set here.

Specified by:
wrapped in class CollectionWrapper<E>

JUtil

Copyright (c) 2006 C. Scott Ananian