com.codemonster.surinam.mgmt
Class ActionSequence
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<Action>
com.codemonster.surinam.mgmt.ActionSequence
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<Action>, Collection<Action>, List<Action>, RandomAccess
public class ActionSequence
- extends ArrayList<Action>
This is a structure that represents the object form of an Action Document. This is essentially
a list of Actions that can be initiated on a Service Block. In its simplicity, hides
the potential to do enormously beneficial management operations on a Service Block.
- See Also:
Action,
Serialized Form
|
Constructor Summary |
ActionSequence()
Constructs an empty list with an initial capacity of ten. |
ActionSequence(int initialCapacity,
boolean resetFlag)
Constructs an empty list with the specified initial capacity. |
| Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize |
ActionSequence
public ActionSequence()
- Constructs an empty list with an initial capacity of ten.
ActionSequence
public ActionSequence(int initialCapacity,
boolean resetFlag)
- Constructs an empty list with the specified initial capacity. This is useful for times
when the initial values are already known.
- Parameters:
initialCapacity - the initial capacity of the listresetFlag - a boolean to indicate whether to reset the Service Block before the apply operation.
- Throws:
IllegalArgumentException - if the specified initial capacity is negative
isResetFlag
public boolean isResetFlag()
setResetFlag
public void setResetFlag(boolean resetFlag)
Copyright © 2010. All Rights Reserved.