|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.biojava.bio.symbol.AbstractSymbolList | +--org.biojava.bio.symbol.ReverseSymbolList
An reverse view of another SymbolList.
Constructor Summary | |
ReverseSymbolList(SymbolList source)
Create a reverse view of source. |
Method Summary | |
Alphabet |
getAlphabet()
The alphabet that this SymbolList is over. |
SymbolList |
getSource()
Retrieve the underlying SymbolList being viewed. |
int |
length()
The number of symbols in this SymbolList. |
Symbol |
symbolAt(int index)
Return the symbol at index, counting from 1. |
Methods inherited from class org.biojava.bio.symbol.AbstractSymbolList |
iterator,
seqString,
subList,
subStr,
toList |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ReverseSymbolList(SymbolList source)
Method Detail |
public SymbolList getSource()
public Alphabet getAlphabet()
Every symbol within this SymbolList is a member of this alphabet.
alphabet.contains(symbol) == true
for each symbol that is within this sequence.
public int length()
public Symbol symbolAt(int index) throws java.lang.IndexOutOfBoundsException
index
- the ofset into this SymbolList
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |