1 package org.opentrafficsim.road.gtu.lane.perception.headway; 2 3 import org.djunits.value.vdouble.scalar.Length; 4 import org.opentrafficsim.core.gtu.GTUException; 5 6 /** 7 * <p> 8 * Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br> 9 * BSD-style license. See <a href="http://opentrafficsim.org/docs/current/license.html">OpenTrafficSim License</a>. 10 * <p> 11 * @version $Revision$, $LastChangedDate$, by $Author$, initial version Jun 30, 2016 <br> 12 * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a> 13 * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a> 14 * @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a> 15 */ 16 public final class HeadwayStopLine extends AbstractHeadwayCopy 17 { 18 19 /** */ 20 private static final long serialVersionUID = 20160630L; 21 22 /** 23 * Construct a new HeadwayStopLine. 24 * @param id String; the id of the object for comparison purposes, can not be null. 25 * @param distance the distance to the other object; if this constructor is used, distance cannot be null. 26 * @throws GTUException when id is null, or parameters are inconsistent 27 */ 28 public HeadwayStopLine(final String id, final Length distance) throws GTUException 29 { 30 super(ObjectType.STOPLINE, id, distance); 31 } 32 33 /** {@inheritDoc} */ 34 @Override 35 public String toString() 36 { 37 return super.toString(); 38 } 39 40 }