Modifier and Type | Field and Description |
---|---|
static EntityType |
TYPE
The entity type of all
SequenceModel instances. |
Constructor and Description |
---|
SequenceModel()
Constructs an empty sequence model.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Entity entity)
Adds the specified sequence model to this one.
|
void |
addSequence(Sequence sequence)
Adds the specified sequence to this sequence model.
|
boolean |
equals(java.lang.Object object) |
java.util.List<Sequence> |
getSequences()
Returns sequences of this sequence model.
|
int |
hashCode() |
getEntityType, toString
public static final EntityType TYPE
SequenceModel
instances.public void addSequence(Sequence sequence)
sequence
- the sequence to be addedjava.lang.IllegalArgumentException
- if sequence
is null
public java.util.List<Sequence> getSequences()
public void add(Entity entity)