ActionQueue

public class ActionQueue

A data class that stores an action and the proposed subactions to acheive that Required because the full

Fields

fullAction

Action fullAction

primitives

LinkedList<Action> primitives

Constructors

ActionQueue

public ActionQueue(Action fullAction, LinkedList<Action> primitives)

Methods

equals

public boolean equals(Object other)

Returns the equality of this queue’s full action with the other queue’s full action. Primitives are of no consequence.

getFullAction

public Action getFullAction()

hasNext

public boolean hasNext()

hashCode

public int hashCode()

Returns the hash code of the full action. The primitives are of no consequence.

peekPrimitive

public Action peekPrimitive()

popPrimitive

public Action popPrimitive()

resetPrimitives

public void resetPrimitives(LinkedList<Action> primitives)

toString

public String toString()