Class RemovableSingletonSet<E>

  • All Implemented Interfaces:
    Iterable<E>, Collection<E>, Set<E>

    public class RemovableSingletonSet<E>
    extends AbstractSet<E>
    Like Collections.singleton() but item is removable, clear() is supported, and the iterator supports remove(). Item may not be null. add() and addAll() unsupported. Unsynchronized.
    Since:
    0.9.7