Class AbstractPerceptionReiterable.PrimaryIteratorEntry
java.lang.Object
org.opentrafficsim.road.gtu.lane.perception.AbstractPerceptionReiterable.PrimaryIteratorEntry
- All Implemented Interfaces:
Comparable<AbstractPerceptionReiterable<H,
U>.PrimaryIteratorEntry>
- Enclosing class:
- AbstractPerceptionReiterable<H extends Headway,
U>
protected class AbstractPerceptionReiterable.PrimaryIteratorEntry
extends Object
implements Comparable<AbstractPerceptionReiterable<H,U>.PrimaryIteratorEntry>
Class for
primaryIterator()
to return, implemented in subclasses.
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
-
Constructor Summary
ConstructorDescriptionPrimaryIteratorEntry
(U object, org.djunits.value.vdouble.scalar.Length distance) Constructor. -
Method Summary
-
Constructor Details
-
PrimaryIteratorEntry
Constructor.- Parameters:
object
- U; objectdistance
- Length; distance
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<AbstractPerceptionReiterable<H extends Headway,
U>.PrimaryIteratorEntry>
-
getObject
Returns the object.- Returns:
- U; object
-