Uses of Interface
it.tidalwave.util.Finder
-
Packages that use Finder Package Description it.tidalwave.util it.tidalwave.util.spi -
-
Uses of Finder in it.tidalwave.util
Methods in it.tidalwave.util that return Finder Modifier and Type Method Description static <U> Finder<U>
Finder. empty()
Returns an emptyFinder
.Finder<T>
Finder. from(int firstResult)
Tells theFinder
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 mappingFinder
on a given delegateFinder
.Finder<T>
Finder. max(int maxResults)
Tells theFinder
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 wrappedFinder
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 wrappedFinder
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 wrappedFinder
on a given supplier.default <U> Finder<U>
Finder. ofType(java.lang.Class<U> type)
Tells theFinder
that the specified type of results is expected.default Finder<T>
Finder. sort(Finder.SortCriterion criterion)
Tells theFinder
that results will be sorted according to the given criterion, in ascending direction.Finder<T>
Finder. sort(Finder.SortCriterion criterion, Finder.SortDirection direction)
Tells theFinder
that results will be sorted according to the given criterion and direction.default Finder<T>
Finder. withContext(java.lang.Object context)
Tells theFinder
that results should be created with the given context.Methods in it.tidalwave.util with parameters of type Finder Modifier and Type Method Description static <U,V>
Finder<U>Finder. mapping(Finder<V> delegate, java.util.function.Function<? super V,? extends U> mapper)
Returns a mappingFinder
on a given delegateFinder
. -
Uses of Finder in it.tidalwave.util.spi
Classes in it.tidalwave.util.spi with type parameters of type Finder Modifier and Type Interface Description interface
ExtendedFinderSupport<T,F extends Finder<T>>
A utility interface for creating extendedFinder
s, it provides automatic covariant return types.class
HierarchicFinderSupport<T,F extends Finder<T>>
A support class for implementing aFinder
.Subinterfaces of Finder in it.tidalwave.util.spi Modifier and Type Interface Description interface
ExtendedFinderSupport<T,F extends Finder<T>>
A utility interface for creating extendedFinder
s, it provides automatic covariant return types.interface
FinderWithId<T,F extends ExtendedFinderSupport<T,F>>
AFinder
that provides filtering by id.Classes in it.tidalwave.util.spi that implement Finder Modifier and Type Class Description class
FinderWithIdMapSupport<T,I extends T,F extends ExtendedFinderSupport<T,F>>
An implementation ofFinderWithIdSupport
based on aMap
.class
FinderWithIdSupport<T,I extends T,F extends ExtendedFinderSupport<T,F>>
A support class for implementing aFinder
that provides filtering by id.class
HierarchicFinderSupport<T,F extends Finder<T>>
A support class for implementing aFinder
.class
SimpleFinderSupport<T>
A starting point for implementing a customFinder
that is not an extended finder.Methods in it.tidalwave.util.spi that return Finder Modifier and Type Method Description <U> Finder<U>
HierarchicFinderSupport. ofType(java.lang.Class<U> type)
Tells theFinder
that the specified type of results is expected.
-