public class NewAssembledSymbolList extends AbstractSymbolList
AbstractSymbolList.EditScreener, AbstractSymbolList.EditTranslaterEDIT, EMPTY_LIST| Constructor and Description |
|---|
NewAssembledSymbolList() |
| Modifier and Type | Method and Description |
|---|---|
Alphabet |
getAlphabet()
The alphabet that this SymbolList is over.
|
Set |
getComponentLocationSet() |
int |
length()
The number of symbols in this SymbolList.
|
void |
putComponent(ComponentFeature f) |
void |
removeComponent(ComponentFeature f) |
void |
setLength(int len) |
SymbolList |
subList(int start,
int end)
Return a new SymbolList for the symbols start to end inclusive.
|
Symbol |
symbolAt(int pos)
Return the symbol at index, counting from 1.
|
edit, equals, hashCode, iterator, seqString, subStr, toList, toStringaddChangeListener, addChangeListener, generateChangeSupport, getChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListenerclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListenerpublic NewAssembledSymbolList()
public void setLength(int len)
public void putComponent(ComponentFeature f)
public void removeComponent(ComponentFeature f)
public Set getComponentLocationSet()
public 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.
public int length()
SymbolListpublic Symbol symbolAt(int pos)
SymbolListpos - the offset into this SymbolListpublic SymbolList subList(int start, int end)
SymbolListThe resulting SymbolList will count from 1 to (end-start + 1) inclusive, and refer to the symbols start to end of the original sequence.
subList in interface SymbolListsubList in class AbstractSymbolListstart - the first symbol of the new SymbolListend - the last symbol (inclusive) of the new SymbolListCopyright © 2014 BioJava. All rights reserved.