Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## sim.engine
Class Sequence

    java.lang.Object
      sim.engine.Sequence

All Implemented Interfaces:
  java.io.Serializable, Steppable

Direct Known Subclasses:
  ParallelSequence, RandomSequence

public class Sequence
extends java.lang.Object
implements Steppable

Sequence is a Steppable which, on being stepped, in turn stepps several other Steppable objects in turn. These objects are stored in its steps array.

See Also:
  Serialized Form

Field Summary
`Steppable[]` | `steps`

Constructor Summary
`Sequence(Steppable[] steps)` Assumes all the steps are filled.

Method Summary
`void` | `step(SimState state)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### steps

    public Steppable[] steps

Constructor Detail

### Sequence

    public Sequence(Steppable[] steps)

  Assumes all the steps are filled. Will use the steps provided.

Method Detail

### step

    public void step(SimState state)

  Specified by:
    `step` in interface `Steppable`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD