Interface PerceptionCollectable.PerceptionFinalizer<C,I>

Type Parameters:
C - collection result type
I - intermediate result type
Enclosing interface:
PerceptionCollectable<H extends Headway,U>

public static interface PerceptionCollectable.PerceptionFinalizer<C,I>
Translates the last intermediate result of an accumulator in to the collection output.

Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Method Summary

    Modifier and Type
    Method
    Description
    collect(I intermediate)
    Translate the last intermediate result in to a final result.
  • Method Details

    • collect

      C collect(I intermediate)
      Translate the last intermediate result in to a final result.
      Parameters:
      intermediate - I; last intermediate result
      Returns:
      C; final result