-
Returns an empty TreePSet using the natural ordering.
Returns an empty TreePSet using the specified comparator.
Returns a TreePSet with the specified elements, using their natural ordering.
Returns a TreePSet with the specified comparator and elements.
Returns a TreePSet with the same elements and ordering as the specified set.
TreePSet.headSet(E toElement,
boolean inclusive)
TreePSet.of(E... elements)
Returns a TreePSet with the specified elements, using their natural ordering.
TreePSet.of(Comparator<? super E> comparator,
E... elements)
Returns a TreePSet with the specified comparator and elements.
Returns a TreePSet with a single element, using the natural ordering.
Returns a TreePSet with a single element, using the specified comparator.
TreePSet.subSet(E fromElement,
boolean fromInclusive,
E toElement,
boolean toInclusive)
TreePSet.subSet(E fromElement,
E toElement)
TreePSet.tailSet(E fromElement,
boolean inclusive)
Returns a collector that gathers a stream into a TreePSet with the elements of that stream,
using their natural ordering.
Returns a collector that gathers a stream into a TreePSet with the elements of that stream,
using the specified comparator.