public abstract class SequenceEntry extends Object implements Serializable, Comparable<SequenceEntry>
| Modifier and Type | Class and Description |
|---|---|
static class |
SequenceEntry.ReferenceLocationType
The location may be relative to the start of the container (containerStart),
or relative to the end of the previous entry (previousEntry)
|
| Modifier and Type | Field and Description |
|---|---|
protected Container |
container |
protected int |
locationInContainerInBits
if the referenceLocation is containerStart, then this is number of bits from the start
for previousEntry, this is the number of bits from where the previous entry ends
|
| Constructor and Description |
|---|
SequenceEntry() |
SequenceEntry(int position,
Container container,
int locationInContainerInBits,
SequenceEntry.ReferenceLocationType location) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SequenceEntry se) |
Container |
getContainer() |
int |
getIndex() |
int |
getLocationInContainerInBits() |
SequenceEntry.ReferenceLocationType |
getReferenceLocation() |
Repeat |
getRepeatEntry() |
SequenceContainer |
getSequenceContainer() |
void |
setContainer(Container container) |
void |
setIndex(int index) |
void |
setLocationInContainerInBits(int locationInBits) |
void |
setReferenceLocation(SequenceEntry.ReferenceLocationType type) |
void |
setRepeatEntry(Repeat repeat) |
protected Container container
protected int locationInContainerInBits
public SequenceEntry()
public SequenceEntry(int position,
Container container,
int locationInContainerInBits,
SequenceEntry.ReferenceLocationType location)
public void setContainer(Container container)
public void setIndex(int index)
public Container getContainer()
public SequenceContainer getSequenceContainer()
public void setLocationInContainerInBits(int locationInBits)
public int getLocationInContainerInBits()
public void setReferenceLocation(SequenceEntry.ReferenceLocationType type)
public int compareTo(SequenceEntry se)
compareTo in interface Comparable<SequenceEntry>se - public SequenceEntry.ReferenceLocationType getReferenceLocation()
public int getIndex()
public Repeat getRepeatEntry()
public void setRepeatEntry(Repeat repeat)
Copyright © 2018 Space Applications Services. All rights reserved.