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
SymbolList
s 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 CharSequence
public int length()
length
in interface CharSequence
public CharSequence subSequence(int start, int end)
subSequence
in interface CharSequence
Copyright © 2014 BioJava. All rights reserved.