public class Test
extends java.lang.Object
Sequence
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 |
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 consists of.
|
int |
getSequencesAmount()
Returns an amount of sequences which this test consists of.
|
int |
getVectorsAmount()
Returns an amount of vectors which this test consists of.
|
int |
hashCode() |
java.lang.String |
toString() |
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 int getVectorsAmount()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
Test
class or its subclass;
equals
in class java.lang.Object
obj
- the object to be compared for equality with this testtrue
if the specified object is equal to this test. Otherwise returns
false
public java.lang.String toString()
toString
in class java.lang.Object