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>
,java.io.Serializable
,java.lang.Cloneable
public class FinderWithIdMapSupport<T,I extends T,F extends ExtendedFinderSupport<T,F>> extends FinderWithIdSupport<T,I,F>
An implementation ofFinderWithIdSupport
based on aMap
.- Since:
- 3.2-ALPHA-15
- Author:
- Fabrizio Giudici
- See Also:
- Serialized Form
- 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 Constructor Description FinderWithIdMapSupport()
FinderWithIdMapSupport(FinderWithIdMapSupport<T,I,F> other, java.lang.Object override)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<T>
findAll()
protected java.util.Optional<T>
findById(Id id)
-
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, iterator, ofType, optionalFirstResult, optionalResult, result, results, stream
-
-
-
-
Constructor Detail
-
FinderWithIdMapSupport
public FinderWithIdMapSupport()
-
FinderWithIdMapSupport
public FinderWithIdMapSupport(@Nonnull FinderWithIdMapSupport<T,I,F> other, @Nonnull java.lang.Object override)
-
-
Method Detail
-
findAll
@Nonnull protected java.util.List<T> findAll()
- Overrides:
findAll
in classFinderWithIdSupport<T,I extends T,F extends ExtendedFinderSupport<T,F>>
-
-