Interface PerceptionCollectable.PerceptionCollector<C,U,I>
- Type Parameters:
C
- collection result typeU
- underlying object typeI
- intermediate result type
- All Known Implementing Classes:
AnticipationDensity
,AnticipationSpeed
,TaskHeadwayCollector
- Enclosing interface:
- PerceptionCollectable<H extends Headway,
U>
public static interface PerceptionCollectable.PerceptionCollector<C,U,I>
Combination of an accumulator and a finalizer.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the accumulator.Returns the finalizer.Returns the identity value, the initial intermediate value.
-
Method Details
-
getIdentity
Returns the identity value, the initial intermediate value.- Returns:
- identity value, the initial intermediate value
-
getAccumulator
PerceptionCollectable.PerceptionAccumulator<U,I> getAccumulator()Returns the accumulator.- Returns:
- accumulator
-
getFinalizer
Returns the finalizer.- Returns:
- finalizer
-