Class MutableCommandSequence
- java.lang.Object
-
- de.erichseifert.vectorgraphics2d.intermediate.MutableCommandSequence
-
- All Implemented Interfaces:
CommandSequence
,java.lang.Iterable<Command<?>>
public class MutableCommandSequence extends java.lang.Object implements CommandSequence
Mutable implementation ofCommandSequence
. It is possible to add commands to this sequence.
-
-
Constructor Summary
Constructors Constructor Description MutableCommandSequence()
Initializes a newCommandSequence
object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Command<?> command)
java.util.Iterator<Command<?>>
iterator()
-
-
-
Field Detail
-
commands
private final java.util.List<Command<?>> commands
-
-