public class Sequence extends Section
Constructor and Description |
---|
Sequence(java.util.List<Section> sections) |
Modifier and Type | Method and Description |
---|---|
Sequence |
action(Action step)
Extends this sequence with an existing action, returning a new sequence (and not modifying the
existing sequence).
|
<T extends Agent<?>> |
action(java.lang.Class<T> clazz,
SerializableConsumer<T> handler)
Extends this sequence with a new action, returning a new sequence (and not modifying the
existing sequence).
|
static Sequence |
create(Section... sections) |
Sequence |
split(Section... sections)
Extends this sequence with a new split, returning a new sequence (and not modifying the
existing sequence).
|
public Sequence(java.util.List<Section> sections)
public <T extends Agent<?>> Sequence action(java.lang.Class<T> clazz, SerializableConsumer<T> handler)
public Sequence action(Action step)