Class RemovableSingletonSet<E>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
net.i2p.router.util.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