Package it.tidalwave.util.spi
Class FinderWithIdMapSupport<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>
it.tidalwave.util.spi.FinderWithIdMapSupport<T,I,F>
- Type Parameters:
T
- the product abstract typeI
- the product concrete typeF
- theFinder
type
- All Implemented Interfaces:
Finder<T>
,ExtendedFinderSupport<T,
,F> FinderWithId<T,
,F> Serializable
,Cloneable
public class FinderWithIdMapSupport<T,I extends T,F extends ExtendedFinderSupport<T,F>>
extends FinderWithIdSupport<T,I,F>
An implementation of
FinderWithIdSupport
based on a Map
.- 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
ConstructorDescriptionFinderWithIdMapSupport
(FinderWithIdMapSupport<T, I, F> other, Object override) -
Method Summary
Methods inherited from class it.tidalwave.util.spi.FinderWithIdSupport
computeResults, streamImpl, withId
Methods inherited from class it.tidalwave.util.spi.HierarchicFinderSupport
clone, clone, clonedWith, computeNeededResults, count, from, getSource, max, ofType, results, sort, sort, withContext
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface it.tidalwave.util.spi.ExtendedFinderSupport
from, max, sort, sort, withContext
Methods inherited from interface it.tidalwave.util.Finder
count, firstResult, forEach, from, from, iterator, max, max, ofType, optionalFirstResult, optionalResult, result, results, stream
-
Constructor Details
-
FinderWithIdMapSupport
public FinderWithIdMapSupport() -
FinderWithIdMapSupport
public FinderWithIdMapSupport(@Nonnull FinderWithIdMapSupport<T, I, F> other, @Nonnull Object override)
-
-
Method Details
-
findAll
- Overrides:
findAll
in classFinderWithIdSupport<T,
I extends T, F extends ExtendedFinderSupport<T, F>>
-
findById
- Overrides:
findById
in classFinderWithIdSupport<T,
I extends T, F extends ExtendedFinderSupport<T, F>>
-