gov.nasa.javaGenes.chemistry
Class Atom.ExtendedTypeKey
java.lang.Object
gov.nasa.javaGenes.chemistry.Atom.ExtendedTypeKey
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- Atom
- protected static class Atom.ExtendedTypeKey
- extends java.lang.Object
- implements java.io.Serializable
Represents the extended type of this atom for use as a hashtable key.
The extended type is the atomic symbol plus the number of
single, double, and triple bonds.
This provides an efficiency advantage over the String returned by
getExtendedTypeString() when used in a hashtable but requires
a little bit of care. Don't modify these
objects in any way. This class is not thread safe
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
bondCounts
protected int[] bondCounts
atomicNumber
protected int atomicNumber
temporary
protected static Atom.ExtendedTypeKey temporary
permanentKeys
protected static java.util.Hashtable permanentKeys
Atom.ExtendedTypeKey
protected Atom.ExtendedTypeKey()
Atom.ExtendedTypeKey
protected Atom.ExtendedTypeKey(Atom atom)
getOne
public static Atom.ExtendedTypeKey getOne(Atom atom)
equals
public boolean equals(java.lang.Object object)
hashCode
public int hashCode()