Predicates
instead@Deprecated public class Predicates extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Predicates.AndPredicate<T>
Deprecated.
|
static class |
Predicates.OrPredicate<T>
Deprecated.
|
Constructor and Description |
---|
Predicates()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static <T> Predicates.AndPredicate<T> |
and(Iterable<Predicate<T>> predicates)
Deprecated.
|
static <T> Predicates.AndPredicate<T> |
and(Predicate<T>... predicates)
Deprecated.
|
static <TYPE> void |
await(Provider<TYPE> provider,
Predicate<TYPE> predicate,
long timeout,
TimeUnit unit)
Deprecated.
use
await(Supplier, Predicate, long, TimeUnit) instead |
static <TYPE> void |
await(org.neo4j.function.Supplier<TYPE> supplier,
Predicate<TYPE> predicate,
long timeout,
TimeUnit unit)
Deprecated.
use
Predicates.await(Supplier, org.neo4j.function.Predicate, long, TimeUnit) instead |
static <T> Predicate<T> |
equalTo(T allowed)
Deprecated.
|
static <T> Predicate<T> |
in(Collection<T> allowed)
Deprecated.
|
static <T> Predicate<T> |
in(Iterable<T> allowed)
Deprecated.
|
static <T> Predicate<T> |
in(T... allowed)
Deprecated.
|
static <T> Predicate<T> |
instanceOf(Class clazz)
Deprecated.
|
static <T> Predicate<T> |
not(Predicate<T> specification)
Deprecated.
|
static <T> Predicate<T> |
notNull()
Deprecated.
|
static <T> Predicates.OrPredicate<T> |
or(Iterable<Predicate<T>> predicates)
Deprecated.
|
static <T> Predicates.OrPredicate<T> |
or(Predicate<T>... predicates)
Deprecated.
|
static Predicate<String> |
stringContains(String string)
Deprecated.
|
static <FROM,TO> Predicate<FROM> |
translate(Function<FROM,TO> function,
Predicate<? super TO> specification)
Deprecated.
|
static <T> Predicate<T> |
TRUE()
Deprecated.
|
static <T> org.neo4j.function.Predicate<T> |
upgrade(Predicate<T> oldPredicate)
Deprecated.
|
@Deprecated public static <T> Predicate<T> TRUE()
@Deprecated public static <T> Predicate<T> not(Predicate<T> specification)
@Deprecated public static <T> Predicates.AndPredicate<T> and(Predicate<T>... predicates)
@Deprecated public static <T> Predicates.AndPredicate<T> and(Iterable<Predicate<T>> predicates)
@Deprecated public static <T> Predicates.OrPredicate<T> or(Predicate<T>... predicates)
@Deprecated public static <T> Predicates.OrPredicate<T> or(Iterable<Predicate<T>> predicates)
@Deprecated public static <T> Predicate<T> equalTo(T allowed)
@Deprecated public static <T> Predicate<T> in(T... allowed)
@Deprecated public static <T> Predicate<T> in(Iterable<T> allowed)
@Deprecated public static <T> Predicate<T> in(Collection<T> allowed)
@Deprecated public static <T> Predicate<T> notNull()
@Deprecated public static <FROM,TO> Predicate<FROM> translate(Function<FROM,TO> function, Predicate<? super TO> specification)
@Deprecated public static <TYPE> void await(Provider<TYPE> provider, Predicate<TYPE> predicate, long timeout, TimeUnit unit) throws TimeoutException, InterruptedException
await(Supplier, Predicate, long, TimeUnit)
insteadTYPE
- the typeprovider
- the providerpredicate
- the predicatetimeout
- the timeoutunit
- the unitInterruptedException
- if interruptedTimeoutException
- if timeout occurs@Deprecated public static <TYPE> void await(org.neo4j.function.Supplier<TYPE> supplier, Predicate<TYPE> predicate, long timeout, TimeUnit unit) throws TimeoutException, InterruptedException
Predicates.await(Supplier, org.neo4j.function.Predicate, long, TimeUnit)
insteadTYPE
- the typesupplier
- the supplierpredicate
- the predicatetimeout
- the timeoutunit
- the unitInterruptedException
- if interruptedTimeoutException
- if timeout occurs@Deprecated public static Predicate<String> stringContains(String string)
@Deprecated public static <T> Predicate<T> instanceOf(Class clazz)
public static <T> org.neo4j.function.Predicate<T> upgrade(Predicate<T> oldPredicate)
Copyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.