Modifier and Type | Class and Description |
---|---|
static class |
Predicates.AbstractPredicate<T> |
Modifier and Type | Method and Description |
---|---|
static <T> Predicate<T> |
alwaysFalse() |
static <T> Predicate<T> |
alwaysTrue() |
static <T> Predicate<T> |
and(Iterable<? extends Predicate<? super T>> predicates) |
static <T> Predicate<T> |
and(Predicate<? super T> first,
Iterable<? extends Predicate<? super T>> predicates) |
static <T> Predicate<T> |
and(Predicate<? super T> first,
Predicate<? super T> second) |
static <T,V> Predicate<T> |
compose(Predicate<? super V> predicate,
Mapper<? super T,? extends V> mapper) |
static <T> Predicate<T> |
contains(Collection<?> target) |
static <T> Predicate<T> |
instanceOf(Class<?> clazz) |
static <T> Predicate<T> |
isEqual(Object target) |
static <T> Predicate<T> |
isNull() |
static <T> Predicate<T> |
isSame(Object target) |
static <T> Predicate<T> |
negate(Predicate<? super T> predicate) |
static <T> Predicate<T> |
nonNull() |
static <T> Predicate<T> |
or(Iterable<? extends Predicate<? super T>> predicates) |
static <T> Predicate<T> |
or(Predicate<? super T>... predicates) |
static <T> Predicate<T> |
or(Predicate<? super T> first,
Predicate<? super T> second) |
static <T> Predicate<T> |
xor(Iterable<? extends Predicate<? super T>> predicates) |
static <T> Predicate<T> |
xor(Predicate<? super T>... predicates) |
static <T> Predicate<T> |
xor(Predicate<? super T> first,
Predicate<? super T> second) |
public static <T> Predicate<T> isNull()
public static <T> Predicate<T> nonNull()
public static <T> Predicate<T> alwaysFalse()
public static <T> Predicate<T> alwaysTrue()
public static <T> Predicate<T> contains(Collection<?> target)
public static <T,V> Predicate<T> compose(Predicate<? super V> predicate, Mapper<? super T,? extends V> mapper)
public static <T> Predicate<T> and(Predicate<? super T> first, Iterable<? extends Predicate<? super T>> predicates)
Copyright © 2012-2014 Julian Hyde. All Rights Reserved.