Uses of Interface
com.landawn.abacus.util.function.Predicate
-
Uses of Predicate in com.landawn.abacus.util
Modifier and TypeFieldDescriptionstatic final Predicate<u.OptionalBoolean>
static final Predicate<u.OptionalByte>
static final Predicate<u.OptionalChar>
static final Predicate<u.OptionalDouble>
static final Predicate<OptionalDouble>
static final Predicate<u.OptionalFloat>
static final Predicate<u.OptionalInt>
static final Predicate<OptionalInt>
static final Predicate<u.OptionalLong>
static final Predicate<OptionalLong>
static final Predicate<u.OptionalShort>
Modifier and TypeMethodDescriptionstatic <T> Predicate<T>
Fn.alwaysFalse()
static <T> Predicate<T>
Fn.alwaysTrue()
static <T> Predicate<T>
Fn.and
(Collection<? extends Predicate<? super T>> c) static <T> Predicate<T>
static <T> Predicate<T>
static <T extends Comparable<? super T>>
Predicate<T>Fn.between
(T minValue, T maxValue) Deprecated.static <T> Predicate<T>
Fn.Predicates.concurrentDistinct()
Returns a statefulPredicate
.static <T> Predicate<T>
Fn.Predicates.concurrentDistinctBy
(Function<? super T, ?> mapper) Returns a statefulPredicate
.static <T> Predicate<T>
Fn.Predicates.distinct()
Returns a statefulPredicate
.static <T> Predicate<T>
Fn.Predicates.distinctBy
(Function<? super T, ?> mapper) Returns a statefulPredicate
.static <T> Predicate<T>
static <T> Predicate<T>
static <T> Predicate<T>
static <T> Predicate<T>
Fn.filterThenLimit
(Predicate<T> predicate, int limit) Returns a statefulPredicate
.static <T> Predicate<T>
static <T extends Comparable<? super T>>
Predicate<T>Fn.geAndLe
(T minValue, T maxValue) Checks if the value/element:minValue <= e <= maxValue
.static <T extends Comparable<? super T>>
Predicate<T>Fn.geAndLt
(T minValue, T maxValue) Checks if the value/element:minValue <= e < maxValue
.static <T extends Comparable<? super T>>
Predicate<T>Fn.greaterEqual
(T target) static <T extends Comparable<? super T>>
Predicate<T>Fn.greaterThan
(T target) static <T extends Comparable<? super T>>
Predicate<T>Fn.gtAndLe
(T minValue, T maxValue) Checks if the value/element:minValue < e <= maxValue
.static <T extends Comparable<? super T>>
Predicate<T>Fn.gtAndLt
(T minValue, T maxValue) Checks if the value/element:minValue < e < maxValue
.static <T> Predicate<T>
Fn.in
(Collection<?> c) static <T> Predicate<T>
Fn.indexed
(IndexedPredicate<T> predicate) Returns a statefulPredicate
.static <T> Predicate<T>
Fn.Predicates.indexed
(IndexedPredicate<T> predicate) Returns a statefulPredicate
.static <T> Predicate<T>
Fn.instanceOf
(Class<?> clazz) static <T extends CharSequence>
Predicate<T>Fn.isBlank()
Checks if is null or empty or blank.static <T> Predicate<T>
Fn.isBlank
(Function<T, ? extends CharSequence> valueExtractor) Fn.isDirectory()
Checks if is directory.Fn.isFile()
Checks if is file.static <T> Predicate<T>
Fn.isNull()
Checks if is null.static <T> Predicate<T>
Checks if is null.static <T extends CharSequence>
Predicate<T>Fn.isNullOrEmpty()
Checks if is null or empty.static <T> Predicate<T>
Fn.isNullOrEmpty
(Function<T, ? extends CharSequence> valueExtractor) static <T> Predicate<T[]>
Fn.isNullOrEmptyA()
static <T extends Collection>
Predicate<T>Fn.isNullOrEmptyC()
Fn.isNullOrEmptyM()
static <T> Predicate<u.Optional<? extends T>>
Fn.isPresent()
Fn.isPresentJdk()
static <T extends Comparable<? super T>>
Predicate<T>Fn.lessEqual
(T target) static <T extends Comparable<? super T>>
Predicate<T>Fn.lessThan
(T target) static <T> Predicate<T>
Fn.limitThenFilter
(int limit, Predicate<T> predicate) Returns a statefulPredicate
.static Predicate<CharSequence>
static <T> Predicate<T>
static <T extends CharSequence>
Predicate<T>Fn.notBlank()
Not null or empty or blank.static <T> Predicate<T>
Fn.notBlank
(Function<T, ? extends CharSequence> valueExtractor) Fn.notContains
(String str) Fn.notEndsWith
(String suffix) Not ends with.static <T> Predicate<T>
static <T> Predicate<T>
Fn.notIn
(Collection<?> c) static <T> Predicate<T>
Fn.notNull()
static <T> Predicate<T>
Not null.static <T extends CharSequence>
Predicate<T>Fn.notNullOrEmpty()
Not null or empty.static <T> Predicate<T>
Fn.notNullOrEmpty
(Function<T, ? extends CharSequence> valueExtractor) static <T> Predicate<T[]>
Fn.notNullOrEmptyA()
static <T extends Collection>
Predicate<T>Fn.notNullOrEmptyC()
Fn.notNullOrEmptyM()
Fn.notStartsWith
(String prefix) Not starts with.static <T> Predicate<T>
Fn.or
(Collection<? extends Predicate<? super T>> c) static <T> Predicate<T>
static <T> Predicate<T>
Fn.Entries.p
(BiPredicate<? super K, ? super V> p) static <A,
B, T> Predicate<T> Fn.p
(A a, B b, TriPredicate<A, B, T> triPredicate) static <A,
T> Predicate<T> Fn.p
(A a, BiPredicate<A, T> biPredicate) static <T> Predicate<T>
Fn.Entries.pp
(Throwables.BiPredicate<? super K, ? super V, ? extends Exception> p) static <A,
B, T> Predicate<T> Fn.pp
(A a, B b, Throwables.TriPredicate<A, B, T, ? extends Exception> triPredicate) static <A,
T> Predicate<T> Fn.pp
(A a, Throwables.BiPredicate<A, T, ? extends Exception> biPredicate) static <T> Predicate<T>
Fn.pp
(Throwables.Predicate<T, ? extends Exception> predicate) static <T> Predicate<T>
Fn.Predicates.skipRepeats()
Returns a statefulPredicate
.static <A,
B, T> Predicate<T> Fn.sp
(Object mutex, A a, B b, TriPredicate<A, B, T> triPredicate) SynchronizedPredicate
.static <A,
T> Predicate<T> Fn.sp
(Object mutex, A a, BiPredicate<A, T> biPredicate) SynchronizedPredicate
.static <T> Predicate<T>
SynchronizedPredicate
.Fn.startsWith
(String prefix) Test by key.Fn.testByValue
(Predicate<? super V> predicate) Test by value.Fn.testKeyVal
(BiPredicate<? super K, ? super V> predicate) Test key val.static <T> Predicate<T>
Fn.timeLimit
(long timeInMillis) Returns a statefulPredicate
.static <T> Predicate<T>
Returns a statefulPredicate
.Throwables.Predicate.unchecked()
-
Uses of Predicate in com.landawn.abacus.util.function
gtAndLt
.