public class DummySymbolList extends AbstractSymbolList implements Serializable
Feature objects, but don't
have the actual sequence data available, you can construct a
SimpleSequence from a DummySequence,
and create features. on that.AbstractSymbolList.EditScreener, AbstractSymbolList.EditTranslaterEDIT, EMPTY_LIST| Constructor and Description |
|---|
DummySymbolList(Alphabet alpha,
int length,
Symbol sym) |
DummySymbolList(FiniteAlphabet alpha,
int length) |
| Modifier and Type | Method and Description |
|---|---|
Alphabet |
getAlphabet()
The alphabet that this SymbolList is over.
|
int |
length()
The number of symbols in this SymbolList.
|
Symbol |
symbolAt(int i)
Return the symbol at index, counting from 1.
|
edit, equals, hashCode, iterator, seqString, subList, subStr, toList, toStringaddChangeListener, addChangeListener, generateChangeSupport, getChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListenerclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListenerpublic DummySymbolList(FiniteAlphabet alpha, int length)
public DummySymbolList(Alphabet alpha, int length, Symbol sym) throws IllegalSymbolException
IllegalSymbolExceptionpublic Alphabet getAlphabet()
SymbolList
Every symbol within this SymbolList is a member of this alphabet.
alphabet.contains(symbol) == true
for each symbol that is within this sequence.
getAlphabet in interface SymbolListpublic int length()
SymbolListlength in interface SymbolListpublic Symbol symbolAt(int i)
SymbolListsymbolAt in interface SymbolListi - the offset into this SymbolListCopyright © 2014 BioJava. All rights reserved.