|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjgromacs.db.AtomType
public class AtomType
Objects of this class represent an atom type
| Constructor Summary | |
|---|---|
AtomType()
Constructs a new AtomType object |
|
AtomType(int type)
Constructs a new AtomType object of a given type |
|
AtomType(java.lang.String code)
Constructs a new AtomType object of given code |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Returns an identical AtomType object |
boolean |
equals(java.lang.Object other)
Returns true if the two atom types are identical |
java.lang.String |
getCode()
Returns the code of atom type |
java.lang.String |
getFullName()
Returns the full name of atom type |
int |
hashCode()
Returns hash code |
java.lang.String |
toString()
Returns the String representation of atom type |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AtomType()
public AtomType(int type)
type - atom typepublic AtomType(java.lang.String code)
code - atom code| Method Detail |
|---|
public java.lang.String getCode()
public java.lang.String getFullName()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Object clone()
clone in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - the other atom 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 | ||||||||