Interface Generics.PerceptionCollectable<H extends org.opentrafficsim.road.gtu.lane.perception.headway.Headway,U>

All Superinterfaces:
Iterable<H>, org.opentrafficsim.road.gtu.lane.perception.PerceptionIterable<H>
Enclosing class:
Generics

public static interface Generics.PerceptionCollectable<H extends org.opentrafficsim.road.gtu.lane.perception.headway.Headway,U> extends org.opentrafficsim.road.gtu.lane.perception.PerceptionIterable<H>
  • Method Summary

    Modifier and Type
    Method
    Description
    <C, I> C
    collect(Supplier<I> identity, org.opentrafficsim.road.gtu.lane.perception.PerceptionCollectable.PerceptionAccumulator<? super U,I> accumulator, org.opentrafficsim.road.gtu.lane.perception.PerceptionCollectable.PerceptionFinalizer<C,I> finalizer)
     

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator

    Methods inherited from interface org.opentrafficsim.road.gtu.lane.perception.PerceptionIterable

    first, isEmpty
  • Method Details

    • collect

      <C, I> C collect(Supplier<I> identity, org.opentrafficsim.road.gtu.lane.perception.PerceptionCollectable.PerceptionAccumulator<? super U,I> accumulator, org.opentrafficsim.road.gtu.lane.perception.PerceptionCollectable.PerceptionFinalizer<C,I> finalizer)