| Modifier and Type | Field and Description |
|---|---|
static IntPredicate |
ALWAYS_TRUE_INT |
| Constructor and Description |
|---|
Predicates() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Predicate<T> |
all(Iterable<Predicate<T>> predicates) |
static <T> Predicate<T> |
all(Predicate<T>... predicates) |
static <T> Predicate<T> |
alwaysFalse() |
static <T> Predicate<T> |
alwaysTrue() |
static <T> Predicate<T> |
any(Iterable<Predicate<T>> predicates) |
static <T> Predicate<T> |
any(Predicate<T>... predicates) |
static void |
await(Supplier<Boolean> condition,
long timeout,
TimeUnit unit) |
static void |
await(Supplier<Boolean> condition,
long timeout,
TimeUnit timeoutUnit,
long pollInterval,
TimeUnit pollUnit) |
static <TYPE> void |
await(Supplier<TYPE> supplier,
Predicate<TYPE> predicate,
long timeout,
TimeUnit timeoutUnit) |
static <TYPE> void |
await(Supplier<TYPE> supplier,
Predicate<TYPE> predicate,
long timeout,
TimeUnit timeoutUnit,
long pollInterval,
TimeUnit pollUnit) |
static void |
awaitForever(BooleanSupplier condition,
long checkInterval,
TimeUnit unit) |
static <T> Predicate<T> |
in(Iterable<T> allowed) |
static <T> Predicate<T> |
in(T... allowed) |
static <T> Predicate<T> |
instanceOf(Class clazz) |
static <T> Predicate<T> |
instanceOfAny(Class... classes) |
static <T> Predicate<T> |
noDuplicates() |
static <T> Predicate<T> |
notNull() |
public static IntPredicate ALWAYS_TRUE_INT
public static <T> Predicate<T> alwaysTrue()
public static <T> Predicate<T> alwaysFalse()
public static <T> Predicate<T> notNull()
@SafeVarargs public static <T> Predicate<T> all(Predicate<T>... predicates)
@SafeVarargs public static <T> Predicate<T> any(Predicate<T>... predicates)
public static <T> Predicate<T> noDuplicates()
public static <TYPE> void await(Supplier<TYPE> supplier, Predicate<TYPE> predicate, long timeout, TimeUnit timeoutUnit, long pollInterval, TimeUnit pollUnit) throws TimeoutException, InterruptedException
TimeoutExceptionInterruptedExceptionpublic static <TYPE> void await(Supplier<TYPE> supplier, Predicate<TYPE> predicate, long timeout, TimeUnit timeoutUnit) throws TimeoutException, InterruptedException
TimeoutExceptionInterruptedExceptionpublic static void await(Supplier<Boolean> condition, long timeout, TimeUnit unit) throws TimeoutException, InterruptedException
TimeoutExceptionInterruptedExceptionpublic static void await(Supplier<Boolean> condition, long timeout, TimeUnit timeoutUnit, long pollInterval, TimeUnit pollUnit) throws TimeoutException, InterruptedException
TimeoutExceptionInterruptedExceptionpublic static void awaitForever(BooleanSupplier condition, long checkInterval, TimeUnit unit) throws InterruptedException
InterruptedExceptionpublic static <T> Predicate<T> in(T... allowed)
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.