Class InMemoryJobEventFinderSupport
java.lang.Object
it.tidalwave.util.spi.HierarchicFinderSupport<JobEvent,ProjectRegistry.JobEventFinder>
it.tidalwave.util.spi.FinderWithIdSupport<JobEvent,InMemoryJobEvent,ProjectRegistry.JobEventFinder>
it.tidalwave.accounting.model.impl.InMemoryJobEventFinderSupport
- All Implemented Interfaces:
ProjectRegistry.JobEventFinder
,it.tidalwave.util.Finder<JobEvent>
,it.tidalwave.util.spi.ExtendedFinderSupport<JobEvent,
,ProjectRegistry.JobEventFinder> it.tidalwave.util.spi.FinderWithId<JobEvent,
,ProjectRegistry.JobEventFinder> Serializable
,Cloneable
- Direct Known Subclasses:
InMemoryJobEventFinder
,InMemoryJobEventFinderFromList
public class InMemoryJobEventFinderSupport
extends it.tidalwave.util.spi.FinderWithIdSupport<JobEvent,InMemoryJobEvent,ProjectRegistry.JobEventFinder>
implements ProjectRegistry.JobEventFinder
- 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
ConstructorsConstructorDescriptionInMemoryJobEventFinderSupport
(InMemoryJobEventFinderSupport other, Object override) -
Method Summary
Methods inherited from class it.tidalwave.util.spi.FinderWithIdSupport
computeResults, findAll, streamImpl, withId
Methods inherited from class it.tidalwave.util.spi.HierarchicFinderSupport
clone, clone, clonedWith, computeNeededResults, count, from, getContexts, getSource, max, ofType, results, sort, sort, toString, withContext
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, 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
Methods inherited from interface it.tidalwave.accounting.model.ProjectRegistry.JobEventFinder
withId
-
Constructor Details
-
InMemoryJobEventFinderSupport
public InMemoryJobEventFinderSupport(@Nonnull InMemoryJobEventFinderSupport other, @Nonnull Object override)
-
-
Method Details
-
findById
- Overrides:
findById
in classit.tidalwave.util.spi.FinderWithIdSupport<JobEvent,
InMemoryJobEvent, ProjectRegistry.JobEventFinder>
-
getDuration
- Specified by:
getDuration
in interfaceProjectRegistry.JobEventFinder
-
getEarnings
- Specified by:
getEarnings
in interfaceProjectRegistry.JobEventFinder
-