Class PerceptionCollectable.UnderlyingDistance<U>
java.lang.Object
org.opentrafficsim.road.gtu.lane.perception.PerceptionCollectable.UnderlyingDistance<U>
- Type Parameters:
U- underlying object type
- Enclosing interface:
- PerceptionCollectable<H extends Headway,U>
public static class PerceptionCollectable.UnderlyingDistance<U>
extends java.lang.Object
Wrapper for object and its distance.
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 Aug 6, 2019
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Constructor Summary
Constructors Constructor Description UnderlyingDistance(U object, Length distance) -
Method Summary
Modifier and Type Method Description LengthgetDistance()UgetObject()
-
Constructor Details
-
UnderlyingDistance
- Parameters:
object- U; objectdistance- Length; distance
-
-
Method Details
-
getObject
- Returns:
- U; object.
-
getDistance
- Returns:
- Length; distance.
-