C - Must be a subtype of @{link Compound}public class ReversedSequenceView<C extends Compound> extends SequenceProxyView<C>
| Constructor and Description |
|---|
ReversedSequenceView(Sequence<C> sequence) |
| Modifier and Type | Method and Description |
|---|---|
C |
getCompoundAt(int position)
Returns the Compound at the given biological index
|
String |
getSequenceAsString()
Returns the String representation of the Sequence
|
protected int |
toIndex(int index) |
countCompounds, equals, getAccession, getAsList, getBioEnd, getBioStart, getCompoundSet, getIndexOf, getInverse, getLastIndexOf, getLength, getSubSequence, getViewedSequence, hashCode, iterator, setBioEnd, setBioStartclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ReversedSequenceView(Sequence<C> sequence)
public String getSequenceAsString()
SequencegetSequenceAsString in interface Sequence<C extends Compound>getSequenceAsString in class SequenceProxyView<C extends Compound>protected int toIndex(int index)
public C getCompoundAt(int position)
SequencegetCompoundAt in interface Sequence<C extends Compound>getCompoundAt in class SequenceProxyView<C extends Compound>position - Biological index (1 to n)Copyright © 2000–2019 BioJava. All rights reserved.