java.io.Serializable
java.lang.Iterable
public interface Route<P extends Position<out Object>> implements Iterable<T>, Serializable
abstract double
length()
abstract P
getPoint(int step)
abstract List<P>
getPoints()
abstract Stream<P>
stream()
abstract int
size()
forEach, iterator, spliterator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abstract double length()
the length of the route
abstract P getPoint(int step)
step
the step-th Position in the route
abstract List<P> getPoints()
the route as list of Position
abstract Stream<P> stream()
the route as stream of Position
abstract int size()
the number of points this route is made of