Class InMemoryInvoiceFinderFromMap
java.lang.Object
it.tidalwave.util.spi.HierarchicFinderSupport<Invoice,InvoiceRegistry.Finder>
it.tidalwave.util.spi.FinderWithIdSupport<Invoice,InMemoryInvoice,InvoiceRegistry.Finder>
it.tidalwave.util.spi.FinderWithIdMapSupport<Invoice,InMemoryInvoice,InvoiceRegistry.Finder>
it.tidalwave.accounting.model.impl.InMemoryInvoiceFinderFromMap
- All Implemented Interfaces:
InvoiceRegistry.Finder,it.tidalwave.util.Finder<Invoice>,it.tidalwave.util.spi.ExtendedFinderSupport<Invoice,,InvoiceRegistry.Finder> it.tidalwave.util.spi.FinderWithId<Invoice,,InvoiceRegistry.Finder> Serializable,Cloneable
public class InMemoryInvoiceFinderFromMap
extends it.tidalwave.util.spi.FinderWithIdMapSupport<Invoice,InMemoryInvoice,InvoiceRegistry.Finder>
implements InvoiceRegistry.Finder
- Author:
- Fabrizio Giudici
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface it.tidalwave.util.Finder
it.tidalwave.util.Finder.InMemorySortCriterion<U>, it.tidalwave.util.Finder.SortCriterion, it.tidalwave.util.Finder.SortDirection -
Field Summary
Fields inherited from class it.tidalwave.util.spi.HierarchicFinderSupport
firstResult, maxResults -
Constructor Summary
ConstructorsConstructorDescriptionInMemoryInvoiceFinderFromMap(InMemoryInvoiceFinderFromMap other, Object override) InMemoryInvoiceFinderFromMap(Map<it.tidalwave.util.Id, InMemoryInvoice> invoiceMapById) -
Method Summary
Methods inherited from class it.tidalwave.util.spi.FinderWithIdMapSupport
findAll, findByIdMethods inherited from class it.tidalwave.util.spi.FinderWithIdSupport
streamImpl, withIdMethods inherited from class it.tidalwave.util.spi.HierarchicFinderSupport
clone, clone, clonedWith, computeNeededResults, count, from, getContexts, getSource, max, ofType, results, sort, sort, toString, withContextMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, 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, streamMethods inherited from interface it.tidalwave.accounting.model.InvoiceRegistry.Finder
withId
-
Constructor Details
-
InMemoryInvoiceFinderFromMap
public InMemoryInvoiceFinderFromMap(@Nonnull Map<it.tidalwave.util.Id, InMemoryInvoice> invoiceMapById) -
InMemoryInvoiceFinderFromMap
public InMemoryInvoiceFinderFromMap(@Nonnull InMemoryInvoiceFinderFromMap other, @Nonnull Object override)
-
-
Method Details
-
withProject
- Specified by:
withProjectin interfaceInvoiceRegistry.Finder
-
computeResults
- Overrides:
computeResultsin classit.tidalwave.util.spi.FinderWithIdSupport<Invoice,InMemoryInvoice, InvoiceRegistry.Finder>
-
getEarnings
- Specified by:
getEarningsin interfaceInvoiceRegistry.Finder
-