Uses of Interface
it.tidalwave.util.Finder
-
-
Uses of Finder in it.tidalwave.role
Classes in it.tidalwave.role with type parameters of type Finder Modifier and Type Interface Description interface
Composite<T,F extends Finder<? extends T>>
The role of a composite object, that is an object which contains children.Fields in it.tidalwave.role with type parameters of type Finder Modifier and Type Field Description static Composite<java.lang.Object,Finder<java.lang.Object>>
Composite. DEFAULT
A defaultComposite
with no children.Methods in it.tidalwave.role with parameters of type Finder Modifier and Type Method Description static <U> SimpleComposite<U>
SimpleComposite. of(Finder<U> finder)
Returns a wrappedSimpleComposite
on a givenFinder
-
Uses of Finder in it.tidalwave.thesefoolishthings.examples.extendedfinderexample
Subinterfaces of Finder in it.tidalwave.thesefoolishthings.examples.extendedfinderexample Modifier and Type Interface Description interface
PersonFinder
Classes in it.tidalwave.thesefoolishthings.examples.extendedfinderexample that implement Finder Modifier and Type Class Description class
PersonFinderImpl2a
class
PersonFinderImpl2b
A variant ofPersonRegistryImpl2a
that uses an internal status class. -
Uses of Finder in it.tidalwave.thesefoolishthings.examples.inmemoryfinderexample
Methods in it.tidalwave.thesefoolishthings.examples.inmemoryfinderexample that return Finder Modifier and Type Method Description Finder<Person>
InMemoryPersonRegistry. findPerson()
-
Uses of Finder in it.tidalwave.thesefoolishthings.examples.jpafinderexample.role
Methods in it.tidalwave.thesefoolishthings.examples.jpafinderexample.role that return Finder Modifier and Type Method Description Finder<T>
Findable. find()
-
Uses of Finder in it.tidalwave.thesefoolishthings.examples.person
Methods in it.tidalwave.thesefoolishthings.examples.person that return Finder Modifier and Type Method Description Finder<Person>
DefaultPersonRegistry. findPerson()
Finder<Person>
PersonRegistry. findPerson()
-
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.default Finder<T>
Finder. from(java.util.Optional<java.lang.Integer> firstResult)
Tells theFinder
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 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.default Finder<T>
Finder. max(java.util.Optional<java.lang.Integer> maxResults)
Tells theFinder
that only a maximum number of found items will be returned.default Finder<T>
Finder. max(java.util.OptionalInt 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.
-