net.cscott.jutil
Class SetWrapper<E>
java.lang.Object
net.cscott.jutil.CollectionWrapper<E>
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 Set
s.
- Version:
- $Id: SetWrapper.java,v 1.3 2006-10-30 19:58:07 cananian Exp $
- Author:
- Felix S. Klock II
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 interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
SetWrapper
protected SetWrapper()
wrapped
protected abstract Set<E> wrapped()
- Implementations should return the wrapped
Set
here.
- Specified by:
wrapped
in class CollectionWrapper<E>
Copyright (c) 2006 C. Scott Ananian