public class SymbolListCharSequence extends Object implements CharSequence
SymbolListCharSequence is a CharSequence
implementation which wraps a SymbolList. It is present
primarily to support regular expression matching over
SymbolLists as it avoids creating a copy.| Constructor and Description |
|---|
SymbolListCharSequence(SymbolList syms)
Creates a new
SymbolListCharSequence wrapping a
SymbolList. |
| Modifier and Type | Method and Description |
|---|---|
char |
charAt(int index) |
int |
length() |
CharSequence |
subSequence(int start,
int end) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchars, codePointspublic SymbolListCharSequence(SymbolList syms)
SymbolListCharSequence wrapping a
SymbolList.syms - a SymbolList.public char charAt(int index)
charAt in interface CharSequencepublic int length()
length in interface CharSequencepublic CharSequence subSequence(int start, int end)
subSequence in interface CharSequenceCopyright © 2020 BioJava. All rights reserved.