|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jgromacs.db.ResidueType
public class ResidueType
Objects of this class represent a residue type
Constructor Summary | |
---|---|
ResidueType()
Constructs a new ResidueType object |
|
ResidueType(int type)
Constructs a new ResidueType object of a given type |
|
ResidueType(java.lang.String code)
Constructs a new ResidueType object of given code |
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns an identical ResidueType object |
boolean |
equals(java.lang.Object other)
Returns true if the two residue types are identical |
java.lang.String |
get1LetterCode()
Returns 1 letter code of residue type |
java.lang.String |
get3LetterCode()
Returns 3 letter code of residue type |
java.lang.String |
getFullName()
Returns full name of residue type |
int |
hashCode()
Returns hash code |
boolean |
isAminoAcid()
Returns true if it is an amino acid (not water or else) |
boolean |
isOther()
Returns true if it is not an amino acid nor water |
boolean |
isWater()
Returns true if it is water (not amino acid or else) |
java.lang.String |
toString()
Returns the String representation of residue type |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResidueType()
public ResidueType(int type)
type
- residue typepublic ResidueType(java.lang.String code)
code
- residue codeMethod Detail |
---|
public java.lang.String get1LetterCode()
public java.lang.String get3LetterCode()
public java.lang.String getFullName()
public boolean isAminoAcid()
public boolean isWater()
public boolean isOther()
public java.lang.String toString()
toString
in class java.lang.Object
public 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 residue typepublic int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |