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