H - headway type@Deprecated public class SortedSetPerceptionIterable<H extends Headway> extends TreeSet<H> implements PerceptionCollectable<H,LaneBasedGTU>
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
PerceptionCollectable.Intermediate<I>, PerceptionCollectable.PerceptionAccumulator<U,I>, PerceptionCollectable.PerceptionCollector<C,U,I>, PerceptionCollectable.PerceptionFinalizer<C,I>| Constructor and Description |
|---|
SortedSetPerceptionIterable(OTSNetwork otsNetwork)
Deprecated.
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<C,I> C |
collect(Supplier<I> identity,
PerceptionCollectable.PerceptionAccumulator<? super LaneBasedGTU,I> accumulator,
PerceptionCollectable.PerceptionFinalizer<C,I> finalizer)
Deprecated.
Collect the underlying objects in to a perceived result.
|
add, addAll, ceiling, clear, clone, comparator, contains, descendingIterator, descendingSet, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, remove, size, spliterator, subSet, subSet, tailSet, tailSetequals, hashCode, removeAllcontainsAll, retainAll, toArray, toArray, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcollectfirst, isEmptyforEach, iterator, spliteratorcontainsAll, equals, hashCode, removeAll, retainAll, toArray, toArrayparallelStream, removeIf, streampublic SortedSetPerceptionIterable(OTSNetwork otsNetwork)
otsNetwork - OTSNetwork; network to obtain LaneBasedGTUpublic <C,I> C collect(Supplier<I> identity, PerceptionCollectable.PerceptionAccumulator<? super LaneBasedGTU,I> accumulator, PerceptionCollectable.PerceptionFinalizer<C,I> finalizer)
collect in interface PerceptionCollectable<H extends Headway,LaneBasedGTU>C - collection result typeI - intermediate typeidentity - Supplier<I>; the initial intermediate result valueaccumulator - PerceptionAccumulator<? super U, I>; accumulatorfinalizer - PerceptionFinalizer<C, I>; finalizerCopyright © 2014–2019 Delft University of Technology. All rights reserved.