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, getAccession, getAsList, getBioEnd, getBioStart, getCompoundSet, getIndexOf, getInverse, getLastIndexOf, getLength, getSubSequence, getViewedSequence, iterator, setBioEnd, setBioStartclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic 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–2016 BioJava. All rights reserved.