| Package | Description |
|---|---|
| org.neo4j.function |
| Modifier and Type | Method and Description |
|---|---|
static <T,V> Supplier<T> |
Suppliers.adapted(Supplier<V> supplier,
Function<V,T> adaptor)
Creates a new
Supplier that applies the specified function to the values obtained from a source supplier. |
static <T> Supplier<Boolean> |
Suppliers.compose(Supplier<T> input,
Predicate<T> predicate) |
static <T> Supplier<T> |
Suppliers.lazySingleton(Supplier<T> supplier)
Creates a lazy initialized
Supplier of a single object |
static <T> Supplier<T> |
Suppliers.singleton(T instance)
Creates a
Supplier that returns a single object |
| Modifier and Type | Method and Description |
|---|---|
static <T,V> Supplier<T> |
Suppliers.adapted(Supplier<V> supplier,
Function<V,T> adaptor)
Creates a new
Supplier that applies the specified function to the values obtained from a source supplier. |
static void |
Predicates.await(Supplier<Boolean> condition,
long timeout,
TimeUnit unit)
Deprecated.
|
static <TYPE> void |
Predicates.await(Supplier<TYPE> supplier,
Predicate<TYPE> predicate,
long timeout,
TimeUnit unit)
Deprecated.
|
static void |
Predicates.awaitForever(Supplier<Boolean> condition,
long checkInterval,
TimeUnit unit)
Deprecated.
|
static <T> Supplier<Boolean> |
Suppliers.compose(Supplier<T> input,
Predicate<T> predicate) |
static <T> Function<Void,T> |
Functions.fromSupplier(Supplier<T> supplier)
Deprecated.
|
static <T> Supplier<T> |
Suppliers.lazySingleton(Supplier<T> supplier)
Creates a lazy initialized
Supplier of a single object |
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.