所有方法 静态方法 具体方法
| 限定符和类型 |
方法和说明 |
static <T> boolean |
allMatch(Set<T> collection,
Predicate<T> predicate) |
static <T> boolean |
anyMatch(Set<T> collection,
Predicate<T> predicate) |
static <E> Set<E> |
asSet(Collection<E> collection) |
static <E> Set<E> |
asSet(E... iterable) |
static <E> Set<E> |
asSet(Enumeration<E> enumeration) |
static <E,O> Set<O> |
asSet(Function<E,O> converter,
Collection<E> collection) |
static <E,O> Set<O> |
asSet(Function<E,O> converter,
E... iterable) |
static <E,O> Set<O> |
asSet(Function<E,O> converter,
Enumeration<E> enumeration) |
static <E,O> Set<O> |
asSet(Function<E,O> converter,
Iterable<E> iterable) |
static <E,O> Set<O> |
asSet(Function<E,O> converter,
Iterator<E> iterator) |
static <E> Set<E> |
asSet(Iterable<E> iterable) |
static <E> Set<E> |
asSet(Iterator<E> iterator) |
static <E> Set<E> |
asSet(Supplier<Set<E>> supplier,
E... iterable) |
static <E> Set<E> |
asSet(Supplier<Set<E>> supplier,
Enumeration<E> enumeration) |
static <E> Set<E> |
asSet(Supplier<Set<E>> supplier,
Iterable<E> iterable) |
static <E> Set<E> |
asSet(Supplier<Set<E>> supplier,
Iterator<E> iterator) |
static <E,O> Set<O> |
asSet(Supplier<Set<O>> supplier,
Function<E,O> converter,
E... iterable) |
static <E,O> Set<O> |
asSet(Supplier<Set<O>> supplier,
Function<E,O> converter,
Enumeration<E> enumeration) |
static <E,O> Set<O> |
asSet(Supplier<Set<O>> supplier,
Function<E,O> converter,
Iterable<E> iterable) |
static <E,O> Set<O> |
asSet(Supplier<Set<O>> supplier,
Function<E,O> converter,
Iterator<E> iterator) |
static boolean |
contains(Set<?> collection,
Object value) |
static <T> boolean |
contains(Set<T> collection,
Predicate<? super T> predicate) |
static boolean |
containsAll(Set<?> coll1,
Collection<?> coll2) |
static boolean |
containsAny(Set<?> coll1,
Set<?> coll2) |
static <S,T> Set<T> |
delegate(Set<S> set,
Function<S,T> converter,
Function<T,S> reconvert) |
static <T> Set<T> |
emptyIfNull(Set<T> set) |
static <T> T |
firstMatch(Set<T> collection,
Predicate<T> matcher) |
static <T> T |
firstNonNull(Set<T> collection) |
static <T> T |
get(Set<T> collection,
int index) |
static <T> Set<T> |
getAll(Set<T> collection,
int... indexes) |
static <T> T |
getFirst(Set<T> set) |
static <E> CopyOnWriteArraySet<E> |
newCopyOnWriteArraySet() |
static <E> Set<E> |
newHashSet() |
static <E> Set<E> |
newLinkedHashSet() |
static <E extends Comparable<? super E>> Set<E> |
newTreeSet() |
static <E> Set<E> |
newTreeSet(Comparator<? super E> comparator) |