Package lejos.robotics.pathfinding
Class Path
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<Waypoint>
-
- lejos.robotics.pathfinding.Path
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.lang.Iterable<Waypoint>,java.util.Collection<Waypoint>,java.util.List<Waypoint>,java.util.RandomAccess,Transmittable
public class Path extends java.util.ArrayList<Waypoint> implements Transmittable
Represents a path consisting of an ordered collection of waypoints- Author:
- Lawrie Griffiths
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Path()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddumpObject(java.io.DataOutputStream dos)voidloadObject(java.io.DataInputStream dis)-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
-
-
-
Method Detail
-
dumpObject
public void dumpObject(java.io.DataOutputStream dos) throws java.io.IOException- Specified by:
dumpObjectin interfaceTransmittable- Throws:
java.io.IOException
-
loadObject
public void loadObject(java.io.DataInputStream dis) throws java.io.IOException- Specified by:
loadObjectin interfaceTransmittable- Throws:
java.io.IOException
-
-