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 Sets.
Author:
Felix S. Klock II <pnkfelix@mit.edu>
  • Constructor Details

    • SetWrapper

      protected SetWrapper()
  • Method Details

    • wrapped

      protected abstract Set<E> wrapped()
      Implementations should return the wrapped Set here.
      Specified by:
      wrapped in class CollectionWrapper<E>
      Since:
      1.3