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


/* $Revision$ $Author$ $Date$
 * Copyright (C) 2005-2007  Egon Willighagen <egonw@users.sf.net>
 * Contact: cdk-devel@lists.sourceforge.net
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public License
 * as published by the Free Software Foundation; either version 2.1
 * of the License, or (at your option) any later version.
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * GNU Lesser General Public License for more details.
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
package org.openscience.cdk.debug;

import org.openscience.cdk.AtomParity;
import org.openscience.cdk.interfaces.IAtom;
import org.openscience.cdk.interfaces.IAtomParity;
import org.openscience.cdk.tools.LoggingTool;

 * Debugging data class.
 * @author     egonw
 * @cdk.module datadebug
 * @cdk.githash
00035 public class DebugAtomParity extends AtomParity
    implements IAtomParity {

00038     private static final long serialVersionUID = 6305428844566539948L;

    public DebugAtomParity(IAtom centralAtom, IAtom first, IAtom second, IAtom third, IAtom fourth, int parity) {
            super(centralAtom, first, second, third, fourth, parity);

      LoggingTool logger = new LoggingTool(DebugAtomParity.class);

00046       public IAtom getAtom() {
            logger.debug("Getting atom: ", super.getAtom());
            return super.getAtom();

00051       public IAtom[] getSurroundingAtoms() {
            logger.debug("Getting surrounding atoms: ", super.getSurroundingAtoms().length);
            return super.getSurroundingAtoms();

00056       public int getParity() {
            logger.debug("Getting atom parity: ", super.getParity());
            return super.getParity();


Generated by  Doxygen 1.6.0   Back to index