Package it.tidalwave.util.spi
Class FinderWithIdSupport<T,I extends T,F extends ExtendedFinderSupport<T,F>>
java.lang.Object
it.tidalwave.util.spi.HierarchicFinderSupport<T,F>
it.tidalwave.util.spi.FinderWithIdSupport<T,I,F>
- Type Parameters:
T- the product abstract typeI- the product concrete typeF- theFindertype
- All Implemented Interfaces:
Finder<T>,ExtendedFinderSupport<T,,F> FinderWithId<T,,F> Serializable,Cloneable
- Direct Known Subclasses:
FinderWithIdMapSupport
public class FinderWithIdSupport<T,I extends T,F extends ExtendedFinderSupport<T,F>>
extends HierarchicFinderSupport<T,F>
implements FinderWithId<T,F>
A support class for implementing a
Finder that provides filtering by id.- Since:
- 3.2-ALPHA-15
- Author:
- Fabrizio Giudici
- See Also:
- Status: experimental API
-
Nested Class Summary
Nested classes/interfaces inherited from interface it.tidalwave.util.Finder
Finder.InMemorySortCriterion<U>, Finder.SortCriterion, Finder.SortDirection -
Field Summary
Fields inherited from class it.tidalwave.util.spi.HierarchicFinderSupport
firstResult, maxResults -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class it.tidalwave.util.spi.HierarchicFinderSupport
clone, clone, clonedWith, computeNeededResults, count, from, getSource, max, ofType, results, sort, sort, withContextMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface it.tidalwave.util.spi.ExtendedFinderSupport
from, max, sort, sort, withContextMethods inherited from interface it.tidalwave.util.Finder
count, firstResult, forEach, from, from, iterator, max, max, ofType, optionalFirstResult, optionalResult, result, results, stream
-
Constructor Details
-
FinderWithIdSupport
public FinderWithIdSupport() -
FinderWithIdSupport
-
-
Method Details
-
withId
- Specified by:
withIdin interfaceFinderWithId<T,I extends T>
-
computeResults
Description copied from class:HierarchicFinderSupportSubclasses can implement this method where *all* the raw results must be actually retrieved.- Overrides:
computeResultsin classHierarchicFinderSupport<T,F extends ExtendedFinderSupport<T, F>> - Returns:
- the unprocessed results
-
findById
-
findAll
-
streamImpl
-