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, setBioStart
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public ReversedSequenceView(Sequence<C> sequence)
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–2018 BioJava. All rights reserved.