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, setBioStart
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public String getSequenceAsString()
Sequence
getSequenceAsString
in interface Sequence<C extends Compound>
getSequenceAsString
in class SequenceProxyView<C extends Compound>
protected int toIndex(int index)
public C getCompoundAt(int position)
Sequence
getCompoundAt
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.