|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjgromacs.data.SequencePosition
public class SequencePosition
Objects of this class represent a single sequence position
Constructor Summary | |
---|---|
SequencePosition()
Constructs a new SequencePosition object |
|
SequencePosition(int index,
ResidueType residueType)
Constructs a new SequencePosition object of given index and residue type |
|
SequencePosition(int index,
ResidueType residueType,
java.lang.String annotation)
Constructs a new SequencePosition object of given index, residue type and annotation |
|
SequencePosition(int index,
java.lang.String annotation)
Constructs a new SequencePosition object of given index and annotation |
|
SequencePosition(ResidueType residueType,
java.lang.String annotation)
Constructs a new SequencePosition object of residue type and annotation |
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns an identical SequencePosition object |
boolean |
equals(java.lang.Object other)
Returns true if the two sequence positions are identical |
java.lang.String |
getAnnotation()
Returns the annotation of sequence position |
int |
getIndex()
Returns the index of sequence position |
ResidueType |
getResidueType()
Returns the residue type of sequence position |
int |
hashCode()
Returns hash code |
void |
setAnnotation(java.lang.String annotation)
Sets the annotation of sequence position |
void |
setIndex(int index)
Sets the index of sequence position |
void |
setResidueType(ResidueType residueType)
Sets the residue type of sequence position |
java.lang.String |
toString()
Returns the String representation of sequence position |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SequencePosition()
public SequencePosition(int index, ResidueType residueType)
index
- indexresidueType
- residue typepublic SequencePosition(int index, java.lang.String annotation)
index
- indexannotation
- annotationpublic SequencePosition(ResidueType residueType, java.lang.String annotation)
residueType
- residue typeannotation
- annotationpublic SequencePosition(int index, ResidueType residueType, java.lang.String annotation)
index
- indexresidueType
- residue typeannotation
- annotationMethod Detail |
---|
public int getIndex()
public void setIndex(int index)
index
- index of sequence positionpublic java.lang.String getAnnotation()
public void setAnnotation(java.lang.String annotation)
annotation
- annotation of sequence positionpublic ResidueType getResidueType()
public void setResidueType(ResidueType residueType)
residueType
- residue type of sequence positionpublic java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- the other sequence positionpublic int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |