Class AbstractPerceptionReiterable.PrimaryIteratorEntry
- java.lang.Object
-
- org.opentrafficsim.road.gtu.lane.perception.AbstractPerceptionReiterable.PrimaryIteratorEntry
-
- All Implemented Interfaces:
Comparable<AbstractPerceptionReiterable.PrimaryIteratorEntry>
- Enclosing class:
- AbstractPerceptionReiterable<H extends Headway,U>
protected class AbstractPerceptionReiterable.PrimaryIteratorEntry extends Object implements Comparable<AbstractPerceptionReiterable.PrimaryIteratorEntry>
Class forprimaryIterator()
to return, implemented in subclasses.Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 28 feb. 2018
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Constructor Summary
Constructors Constructor Description PrimaryIteratorEntry(U object, Length distance)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(AbstractPerceptionReiterable.PrimaryIteratorEntry o)
protected U
getObject()
Returns the object.
-
-
-
Method Detail
-
compareTo
public int compareTo(AbstractPerceptionReiterable.PrimaryIteratorEntry o)
- Specified by:
compareTo
in interfaceComparable<AbstractPerceptionReiterable.PrimaryIteratorEntry>
-
getObject
protected U getObject()
Returns the object.- Returns:
- U; object
-
-