public class Substitution extends java.lang.Object implements java.io.Serializable, ReadFeature
| Modifier and Type | Field and Description |
|---|---|
static int |
NO_CODE |
static byte |
operator |
| Constructor and Description |
|---|
Substitution(int position,
byte code) |
Substitution(int position,
byte base,
byte referenceBase) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
byte |
getBase() |
byte |
getCode() |
byte |
getOperator()
Read features are distinguished by operator, similar to cigar operator.
|
int |
getPosition() |
byte |
getReferenceBase() |
int |
hashCode() |
void |
setCode(byte code) |
java.lang.String |
toString() |
public static final int NO_CODE
public static final byte operator
public Substitution(int position,
byte code)
public Substitution(int position,
byte base,
byte referenceBase)
public byte getCode()
public void setCode(byte code)
public byte getOperator()
ReadFeaturegetOperator in interface ReadFeaturepublic int getPosition()
getPosition in interface ReadFeaturepublic byte getBase()
public byte getReferenceBase()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object