Constructor and Description |
---|
Tracker() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Stop stop,
TimeRange newRange)
Return true if the time range at the given stop was updated.
|
TimeRange |
get(Stop stop)
Get the existing TimeRange for the specified stop, or NULL if none is defined.
|
Iterator<Stop> |
iterator() |
void |
set(Stop stop,
int t)
Set the travel time to a specific transit stop to exactly t seconds, overwriting any existing value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public void set(Stop stop, int t)
public TimeRange get(Stop stop)
public boolean add(Stop stop, TimeRange newRange)
Copyright © 2019. All rights reserved.