Class FinderWithIdMapSupport<TYPE,IMPLTYPE extends TYPE,FINDER extends it.tidalwave.util.spi.ExtendedFinderSupport<TYPE,FINDER>>
- java.lang.Object
-
- it.tidalwave.util.spi.FinderSupport<TYPE,FINDER>
-
- it.tidalwave.accounting.model.spi.util.FinderWithIdSupport<TYPE,IMPLTYPE,FINDER>
-
- it.tidalwave.accounting.model.spi.util.FinderWithIdMapSupport<TYPE,IMPLTYPE,FINDER>
-
- Type Parameters:
TYPE
- the product abstract typeIMPLTYPE
- the product concrete typeFINDER
- theFinder
type
- All Implemented Interfaces:
it.tidalwave.util.Finder<TYPE>
,it.tidalwave.util.spi.ExtendedFinderSupport<TYPE,FINDER>
,java.io.Serializable
,java.lang.Cloneable
public class FinderWithIdMapSupport<TYPE,IMPLTYPE extends TYPE,FINDER extends it.tidalwave.util.spi.ExtendedFinderSupport<TYPE,FINDER>> extends FinderWithIdSupport<TYPE,IMPLTYPE,FINDER>
An implementation ofFinderWithIdSupport
based on aMap
.- Author:
- Fabrizio Giudici
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FinderWithIdMapSupport()
FinderWithIdMapSupport(FinderWithIdMapSupport<TYPE,IMPLTYPE,FINDER> other, java.lang.Object override)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<IMPLTYPE>
findAll()
protected java.util.Optional<IMPLTYPE>
findById(it.tidalwave.util.Id id)
-
Methods inherited from class it.tidalwave.accounting.model.spi.util.FinderWithIdSupport
computeResults, streamImpl, withId
-
Methods inherited from class it.tidalwave.util.spi.FinderSupport
clone, clone, computeNeededResults, count, firstResult, from, getContexts, getSource, max, ofType, result, results, sort, sort, toString, withContext
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
FinderWithIdMapSupport
public FinderWithIdMapSupport()
-
FinderWithIdMapSupport
public FinderWithIdMapSupport(@Nonnull FinderWithIdMapSupport<TYPE,IMPLTYPE,FINDER> other, @Nonnull java.lang.Object override)
-
-
Method Detail
-
findAll
@Nonnull protected java.util.List<IMPLTYPE> findAll()
-
-