|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.ac.man.bioinf.sequence.EmptySequence
EmptySequence.java Created: Mon Feb 5 17:53:37 2001
Method Summary | |
Element |
getElementAt(int param1)
Returns an element at a given location. |
char |
getElementAtAsChar(int param1)
Returns the character of an target element. |
Identifier |
getIdentifier()
|
static Sequence |
getInstance()
|
int |
getLength()
Returns the length of the sequence. |
char[] |
getSequenceAsChars()
Returns the sequence as an array of characters. |
Element[] |
getSequenceAsElements()
Returns the sequence as an array of elements. |
SequenceType |
getSequenceType()
Returns the type of sequence. |
Sequence |
getSubSequence(int param1,
int param2)
Returns a sub-sequence from the current sequence. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Sequence getInstance()
public Sequence getSubSequence(int param1, int param2)
Sequence
getSubSequence
in interface Sequence
param1
- the initial index of the sub-sequence
public SequenceType getSequenceType()
Sequence
getSequenceType
in interface Sequence
public Element[] getSequenceAsElements()
Sequence
getSequenceAsElements
in interface Sequence
public char[] getSequenceAsChars()
Sequence
getSequenceAsChars
in interface Sequence
public int getLength()
Sequence
getLength
in interface Sequence
public char getElementAtAsChar(int param1)
Sequence
getElementAtAsChar
in interface Sequence
param1
- the location of the target element
public Element getElementAt(int param1)
Sequence
getElementAt
in interface Sequence
param1
- the location of the target element
public Identifier getIdentifier()
getIdentifier
in interface Identifiable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |