All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentrafficsim.road.gtu.lane.perception.PerceptionIterable Maven / Gradle / Ivy

The newest version!
package org.opentrafficsim.road.gtu.lane.perception;

import org.opentrafficsim.road.gtu.lane.perception.headway.Headway;

/**
 * Iterable set of elements, sorted close to far.
 * 

* 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 * @author Peter Knoppers * @author Wouter Schakel * @param headway type */ public interface PerceptionIterable extends Iterable { /** * Returns the first element. * @return H; first element */ H first(); /** * Returns whether this iterable is empty. * @return whether this iterable is empty */ boolean isEmpty(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy