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. |
public 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 © 2014 BioJava. All rights reserved.