public class Predicates extends Object
| 构造器和说明 |
|---|
Predicates() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> Predicate<T> |
alwaysFalse() |
static <T> Predicate<T> |
alwaysTrue() |
static <T> Predicate<T> |
and(Iterable<? extends Predicate<T>> predicates) |
static <T> Predicate<T> |
and(Predicate<T>... predicates) |
static <T> Predicate<T> |
and(Stream<Predicate<T>> predicates) |
static <T> Predicate<T> |
or(Iterable<? extends Predicate<T>> predicates) |
static <T> Predicate<T> |
or(Predicate<T>... predicates) |
static <T> Predicate<T> |
or(Stream<Predicate<T>> predicates) |
public static <T> Predicate<T> alwaysTrue()
public static <T> Predicate<T> alwaysFalse()
@SafeVarargs public static <T> Predicate<T> and(Predicate<T>... predicates)
@SafeVarargs public static <T> Predicate<T> or(Predicate<T>... predicates)
Copyright © 2025 fossc. All rights reserved.