static <U> Finder<U> |
Finder.empty() |
Returns an empty Finder .
|
Finder<T> |
Finder.from(int firstResult) |
Tells the Finder that only a subset of found items will be returned, starting from the given position.
|
default Finder<T> |
Finder.from(java.util.Optional<java.lang.Integer> firstResult) |
Tells the Finder that only a subset of found items will be returned, starting from the given position.
|
default Finder<T> |
Finder.from(java.util.OptionalInt firstResult) |
Tells the Finder that only a subset of found items will be returned, starting from the given position.
|
static <U,V> Finder<U> |
Finder.mapping(Finder<V> delegate,
java.util.function.Function<? super V,? extends U> mapper) |
Returns a mapping Finder on a given delegate Finder .
|
Finder<T> |
Finder.max(int maxResults) |
Tells the Finder that only a maximum number of found items will be returned.
|
default Finder<T> |
Finder.max(java.util.Optional<java.lang.Integer> maxResults) |
Tells the Finder that only a maximum number of found items will be returned.
|
default Finder<T> |
Finder.max(java.util.OptionalInt maxResults) |
Tells the Finder that only a maximum number of found items will be returned.
|
static <U> Finder<U> |
Finder.ofCloned(java.util.Collection<? extends U> items) |
Returns a wrapped Finder on a given collection of elements.
|
static <U> Finder<U> |
Finder.ofProvider(java.util.function.BiFunction<java.lang.Integer,java.lang.Integer,? extends java.util.Collection<? extends U>> provider) |
Returns a wrapped Finder on a given function to provide results.
|
static <U> Finder<U> |
Finder.ofSupplier(java.util.function.Supplier<? extends java.util.Collection<? extends U>> supplier) |
Returns a wrapped Finder on a given supplier.
|
default <U> Finder<U> |
Finder.ofType(java.lang.Class<U> type) |
Tells the Finder that the specified type of results is expected.
|
default Finder<T> |
Finder.sort(Finder.SortCriterion criterion) |
Tells the Finder that results will be sorted according to the given criterion, in ascending direction.
|
Finder<T> |
Finder.sort(Finder.SortCriterion criterion,
Finder.SortDirection direction) |
Tells the Finder that results will be sorted according to the given criterion and direction.
|
default Finder<T> |
Finder.withContext(java.lang.Object context) |
Tells the Finder that results should be created with the given context.
|