Sha256: 364492a0ab0353e5c9ed970c5656268a099425ae846a33792076e961222f54f2
Contents?: true
Size: 1.81 KB
Versions: 1
Compression:
Stored size: 1.81 KB
Contents
/* Copyright Ideaconsult Ltd. (C) 2005-2007 Contact: nina@acad.bg This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. All we ask is that proper credit is given for our work, which includes - but is not limited to - adding the above copyright notice to the beginning of your source code files, and to any copyright notice that you may distribute with programs based on this work. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ package toxTree.query; import org.openscience.cdk.CDKConstants; import org.openscience.cdk.interfaces.IAtom; /** * Matches if not aromatic and of type set * @author Nina Jeliazkova * <b>Modified</b> 2005-8-20 */ public class AliphaticCHQueryAtom extends CHQueryAtom { /** * Comment for <code>serialVersionUID</code> */ private static final long serialVersionUID = 416309648893347645L; /** * */ public AliphaticCHQueryAtom() { super(); } /** * @param atom */ public AliphaticCHQueryAtom(IAtom atom) { super(atom); } /* (non-Javadoc) * @see toxTree.tree.rules.CHQueryAtom#matches(org.openscience.cdk.Atom) */ @Override public boolean matches(IAtom atom) { return (!atom.getFlag(CDKConstants.ISAROMATIC)) && super.matches(atom) ; } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
toxtree-0.0.1 | Toxtree-v2.6.13/src/toxTree/query/AliphaticCHQueryAtom.java |