Class KamiTreeSet<E,C extends Comparator<? super E>>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.TreeSet<E>
com.kamikazejam.kamicommon.util.collections.KamiTreeSet<E,C>
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<E>
,Collection<E>
,NavigableSet<E>
,Set<E>
,SortedSet<E>
This subclass adds better constructors.
It also includes the comparator as a Generic for automatic use with GSON.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionKamiTreeSet
(Object comparator) KamiTreeSet
(Object comparator, E @NotNull ... elements) KamiTreeSet
(Object comparator, Collection<? extends E> c) -
Method Summary
Methods inherited from class java.util.TreeSet
add, addAll, ceiling, clear, clone, comparator, contains, descendingIterator, descendingSet, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, remove, size, spliterator, subSet, subSet, tailSet, tailSet
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
containsAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
KamiTreeSet
-
KamiTreeSet
-
KamiTreeSet
-