Package io.github.connellite.collections
Class NullSkippingTreeSet<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.TreeSet<E>
io.github.connellite.collections.NullSkippingTreeSet<E>
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<E>,Collection<E>,NavigableSet<E>,Set<E>,SortedSet<E>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNullSkippingTreeSet(Collection<? extends E> c) NullSkippingTreeSet(Comparator<? super E> comparator) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdds a non-null element to the set.booleanaddAll(Collection<? extends E> c) Adds all non-null elements from the source collection.Methods inherited from class java.util.TreeSet
ceiling, clear, clone, comparator, contains, descendingIterator, descendingSet, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, remove, size, spliterator, subSet, subSet, tailSet, tailSetMethods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
containsAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
NullSkippingTreeSet
public NullSkippingTreeSet() -
NullSkippingTreeSet
-
NullSkippingTreeSet
-
NullSkippingTreeSet
-
-
Method Details
-
add
Adds a non-null element to the set. -
addAll
Adds all non-null elements from the source collection.
-