Class LinkedHashSetWithoutNull<T>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<E>
-
- java.util.HashSet<E>
-
- java.util.LinkedHashSet<T>
-
- org.eclipse.xtext.ide.editor.contentassist.antlr.internal.LinkedHashSetWithoutNull<T>
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.lang.Iterable<T>,java.util.Collection<T>,java.util.Set<T>
public class LinkedHashSetWithoutNull<T> extends java.util.LinkedHashSet<T>A linked hash set specialization that will refuse to add null values. It is notable that this implementation intentionally violates the specification ofCollection.add(Object)thus it should be used with caution.- Since:
- 2.9
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LinkedHashSetWithoutNull()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(T e)-
Methods inherited from class java.util.HashSet
clear, clone, contains, isEmpty, iterator, remove, size
-
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
-
-