public class Test extends Entity
Sequence
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ENTITY_TYPE_ID
The entity type ID of all
Test instances. |
Constructor and Description |
---|
Test()
Constructs an empty test.
|
Test(java.util.List<Sequence> sequences)
Constructs a test containing the specified list of sequences.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Entity entity)
Adds sequences of the specified test to this test.
|
void |
addSequence(Sequence sequence)
Adds the specified sequence to this test.
|
void |
addSequences(java.util.List<Sequence> sequences)
Adds the specified sequences to this test.
|
boolean |
equals(java.lang.Object obj)
Compares the specified object with this test for equality.
|
java.util.List<Sequence> |
getSequences()
Returns a list of sequences which this test consisted of.
|
int |
getSequencesAmount()
Returns an amount of sequences which this test consisted of.
|
int |
hashCode() |
java.lang.String |
toString() |
getEntityType
public static final java.lang.String ENTITY_TYPE_ID
Test
instances.public Test()
public Test(java.util.List<Sequence> sequences)
sequences
- the list of sequencespublic void addSequence(Sequence sequence)
sequence
- the sequence to be added.public void addSequences(java.util.List<Sequence> sequences)
sequences
- a list of the sequences to be addedpublic java.util.List<Sequence> getSequences()
public int getSequencesAmount()
public void add(Entity entity)
public boolean equals(java.lang.Object obj)
Test
class or its subclass;