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
    Length getDistance()  
    U getObject()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UnderlyingDistance

      public UnderlyingDistance​(U object, Length distance)
      Parameters:
      object - U; object
      distance - Length; distance
  • Method Details