public class AtomType
extends java.lang.Object
implements java.lang.Cloneable
| Constructor and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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
|
public AtomType()
public AtomType(int type)
type - atom typepublic AtomType(java.lang.String code)
code - atom codepublic 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