Logo Search packages:      
Sourcecode: cdk version File versions  Download package

String org::openscience::cdk::AtomParity::toString (  ) [inline, inherited]

Returns a one line string representation of this AtomParity. Methods is conform RFC #9.

Returns:
The string representation of this AtomParity

Definition at line 123 of file AtomParity.java.

References org::openscience::cdk::interfaces::IChemObject::getID().

                             {
        StringBuffer resultString = new StringBuffer(32);
        resultString.append("AtomParity(");
        resultString.append(this.hashCode()).append(", ");
        resultString.append(centralAtom.getID());
        resultString.append(", F:[").append(neighbors[0].getID()).append(", ");
        resultString.append(neighbors[1].getID()).append(", ");
        resultString.append(neighbors[2].getID()).append(", ");
        resultString.append(neighbors[3].getID()).append("], ");
        resultString.append(parity);
        resultString.append(')');
        return resultString.toString();
    }

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index