public class TreeSets<T> extends Object
| Modifier and Type | Method and Description |
|---|---|
TreeSets<T> |
add(T add) |
TreeSets<T> |
addAll(Set<T> add) |
TreeSets<T> |
addAll(T... add) |
TreeSets<T> |
addConditional(boolean b,
T add) |
TreeSet<T> |
build() |
static <T> TreeSet<T> |
complementOf(Set<T> set,
Set<T> minus) |
static <T> TreeSets<T> |
empty() |
static <T> TreeSets<T> |
empty(Comparator<? super T> comparator) |
TreeSets<T> |
intersect(Set<T> retain) |
static <T> TreeSet<T> |
intersectionOf(Set<T> set,
Set<T> other) |
TreeSets<T> |
minus(Set<T> remove) |
static <T> TreeSet<T> |
of(Predicate<T> cond,
T... elements) |
static <T> TreeSet<T> |
of(T... elements) |
TreeSets<T> |
remove(T remove) |
TreeSets<T> |
removeAll(Set<T> remove) |
TreeSets<T> |
removeAll(T... remove) |
TreeSets<T> |
removeConditional(boolean b,
T remove) |
TreeSets<T> |
retain(T retain) |
TreeSets<T> |
retainAll(Set<T> retain) |
TreeSets<T> |
retainAll(T... retain) |
TreeSets<T> |
retainConditional(boolean b,
T retain) |
static <T> TreeSets<T> |
sorted() |
static <T> TreeSets<T> |
sorted(Collection<T> set) |
static <T> TreeSets<T> |
sorted(Comparator<? super T> comparator) |
TreeSets<T> |
union(Set<T> add) |
static <T> TreeSet<T> |
unionOf(Set<T> set,
Set<T> other) |
public static <T> TreeSets<T> sorted()
public static <T> TreeSets<T> sorted(Comparator<? super T> comparator)
public static <T> TreeSets<T> sorted(Collection<T> set)
public static <T> TreeSets<T> empty()
public static <T> TreeSets<T> empty(Comparator<? super T> comparator)
@SafeVarargs public static <T> TreeSet<T> of(T... elements)
@SafeVarargs public static <T> TreeSet<T> of(Predicate<T> cond, T... elements)
Copyright © 2017. All rights reserved.