ELEMENTTYPE - Set element typepublic class CommonsTreeSet<ELEMENTTYPE> extends TreeSet<ELEMENTTYPE> implements ICommonsNavigableSet<ELEMENTTYPE>
TreeSet implementation based on
ICommonsNavigableSet.| Constructor and Description |
|---|
CommonsTreeSet() |
CommonsTreeSet(Collection<? extends ELEMENTTYPE> aCont) |
CommonsTreeSet(Comparator<? super ELEMENTTYPE> aComparator) |
CommonsTreeSet(ELEMENTTYPE... aValues) |
CommonsTreeSet(ELEMENTTYPE aValue) |
CommonsTreeSet(Iterable<? extends ELEMENTTYPE> aIterable) |
CommonsTreeSet(Iterable<? extends SRCTYPE> aValues,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper) |
CommonsTreeSet(SRCTYPE[] aValues,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper) |
| Modifier and Type | Method and Description |
|---|---|
<T> CommonsTreeSet<T> |
createInstance()
Create a new empty set.
|
CommonsTreeSet<ELEMENTTYPE> |
getClone() |
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, tailSetequals, hashCode, removeAllcontainsAll, retainAll, toArray, toArray, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetAsUnmodifiableceiling, descendingIterator, descendingSet, floor, headSet, headSet, higher, iterator, lower, pollFirst, pollLast, subSet, subSet, tailSet, tailSetgetFirst, getFirst, getLast, getLastcomparator, first, last, spliteratorgetAll, getAllInstanceOf, getAllMapped, getAllMapped, replaceadd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArrayaddAll, addAll, addAll, addAll, addAll, addAll, addAll, addAll, addAllMapped, addAllMapped, addAllMapped, addAllMapped, addAllMapped, addAllMapped, addIf, addIfNotNull, addObject, getAtIndex, getAtIndex, getAtIndex, getAtIndex, getAtIndexMapped, getAtIndexMapped, getAtIndexMapped, getAtIndexMapped, getCopyAsList, getCount, getSorted, iterator2, removeAll, removeObject, set, setAll, setAll, setAllMapped, setAllMappedparallelStream, removeIf, streamcontainsAny, containsNone, containsOnly, findAll, findAllInstanceOf, findAllMapped, findAllMapped, findAllMapped, findFirst, findFirst, findFirstIndex, findFirstMapped, findFirstMapped, findLastIndex, forEachBreakable, forEachByIndex, forEachThrowing, getCountisEmpty, isNotEmpty, sizepublic CommonsTreeSet()
public CommonsTreeSet(@Nullable Comparator<? super ELEMENTTYPE> aComparator)
public CommonsTreeSet(@Nullable Collection<? extends ELEMENTTYPE> aCont)
public CommonsTreeSet(@Nullable Iterable<? extends ELEMENTTYPE> aIterable)
public CommonsTreeSet(@Nullable Iterable<? extends SRCTYPE> aValues, @Nonnull Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper)
public CommonsTreeSet(@Nullable ELEMENTTYPE aValue)
@SafeVarargs public CommonsTreeSet(@Nullable ELEMENTTYPE... aValues)
public CommonsTreeSet(@Nullable SRCTYPE[] aValues, @Nonnull Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper)
@Nonnull @ReturnsMutableCopy public <T> CommonsTreeSet<T> createInstance()
ICommonsSetCommonsHashSet.createInstance in interface ICommonsSet<ELEMENTTYPE>T - Set element typenull.@Nonnull @ReturnsMutableCopy public CommonsTreeSet<ELEMENTTYPE> getClone()
getClone in interface ICommonsNavigableSet<ELEMENTTYPE>getClone in interface ICommonsSortedSet<ELEMENTTYPE>getClone in interface ICloneable<ICommonsSet<ELEMENTTYPE>>Copyright © 2014–2022 Philip Helger. All rights reserved.