public class Plan
extends java.util.LinkedList<java.lang.Object>
| Constructor and Description |
|---|
Plan()
Empty constructor
|
Plan(java.lang.Object... steps)
Construct a plan based on a sequence of steps (IfStateThenPlan or a
Plan).
|
| Modifier and Type | Method and Description |
|---|---|
Plan |
prepend(Action action)
Prepend an action to the plan and return itself.
|
java.lang.String |
toString()
Returns the string representation of this plan
|
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArrayequals, hashCode, listIterator, removeRange, subListcontainsAll, isEmpty, removeAll, retainAllfinalize, getClass, notify, notifyAll, wait, wait, waitpublic Plan()
public Plan(java.lang.Object... steps)
steps - public Plan prepend(Action action)
action - the action to be prepended to this plan.public java.lang.String toString()
toString in class java.util.AbstractCollection<java.lang.Object>