Class NonNullHashSet<T>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<T>
wtf.choco.veinminer.utils.NonNullHashSet<T>
Type Parameters:
T - the type of element to store in this collection
All Implemented Interfaces:
Serializable, Cloneable, Iterable<T>, Collection<T>, Set<T>

public class NonNullHashSet<T>
extends HashSet<T>
A more specific implementation of HashSet that prevents the addition of null values. If a null value is added to this collection, a NullPointerException will be thrown.
Author:
Parker Hawke - 2008Choco
See Also:
Serialized Form