-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.Route,java.io.Serializable,java.lang.Iterable
public class PolygonalChain<P extends Position<out Object>> implements Route<P>
Abstract route implementation.
-
-
Constructor Summary
Constructors Constructor Description PolygonalChain(Array<P> positions)PolygonalChain(List<P> positions)
-
Method Summary
Modifier and Type Method Description final booleanequals(Object other)final PgetPoint(int step)final ImmutableList<P>getPoints()final inthashCode()final Iterator<P>iterator()final doublelength()final intsize()final Stream<P>stream()StringtoString()Prints the class name and the list of positions.
-