test_class.file: base/data/src/test/java/org/openscience/cdk/AtomTypeTest.java
test_class.identifier: AtomTypeTest
test_class.superclass: extends AbstractAtomTypeTest
test_case.body: @Test
      public void testCompare() {
          IAtomType at = new AtomType("C4", "C");
          if (at instanceof org.openscience.cdk.AtomType) {
              org.openscience.cdk.AtomType at1 = (org.openscience.cdk.AtomType) at;
              IAtomType at2 = at.getBuilder().newInstance(IAtomType.class, "C3", "C");
              Assert.assertFalse(at1.compare("C4"));
              Assert.assertFalse(at1.compare(at2));
          }
      }
test_case.class_method_signature: AtomTypeTest.testCompare()
test_case.full_signature: @Test public void testCompare()
test_case.identifier: testCompare
test_case.invocations: newInstance getBuilder assertFalse compare assertFalse compare
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCompare()
focal_class.declarator: serialVersionUID     = -7950397716808229972L
focal_class.modifier: private static final
focal_class.original_string: private static final long         serialVersionUID     = -7950397716808229972L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: maxBondOrder         = null
focal_class.original_string: IBond.Order                       maxBondOrder         = null;
focal_class.type: IBond.Order
focal_class.var_name: maxBondOrder
focal_class.declarator: bondOrderSum         = (Double) CDKConstants.UNSET
focal_class.original_string: Double                            bondOrderSum         = (Double) CDKConstants.UNSET;
focal_class.type: Double
focal_class.var_name: bondOrderSum
focal_class.declarator: covalentRadius       = (Double) CDKConstants.UNSET
focal_class.original_string: Double                            covalentRadius       = (Double) CDKConstants.UNSET;
focal_class.type: Double
focal_class.var_name: covalentRadius
focal_class.declarator: formalCharge         = (Integer) CDKConstants.UNSET
focal_class.modifier: protected
focal_class.original_string: protected Integer                 formalCharge         = (Integer) CDKConstants.UNSET;
focal_class.type: Integer
focal_class.var_name: formalCharge
focal_class.declarator: hybridization        = (Hybridization) CDKConstants.UNSET
focal_class.modifier: protected
focal_class.original_string: protected IAtomType.Hybridization hybridization        = (Hybridization) CDKConstants.UNSET;
focal_class.type: IAtomType.Hybridization
focal_class.var_name: hybridization
focal_class.declarator: electronValency      = (Integer) CDKConstants.UNSET
focal_class.modifier: protected
focal_class.original_string: protected Integer                 electronValency      = (Integer) CDKConstants.UNSET;
focal_class.type: Integer
focal_class.var_name: electronValency
focal_class.declarator: formalNeighbourCount = (Integer) CDKConstants.UNSET
focal_class.modifier: protected
focal_class.original_string: protected Integer                 formalNeighbourCount = (Integer) CDKConstants.UNSET;
focal_class.type: Integer
focal_class.var_name: formalNeighbourCount
focal_class.declarator: identifier           = (String) CDKConstants.UNSET
focal_class.modifier: private
focal_class.original_string: private String                    identifier           = (String) CDKConstants.UNSET;
focal_class.type: String
focal_class.var_name: identifier
focal_class.file: base/data/src/main/java/org/openscience/cdk/AtomType.java
focal_class.identifier: AtomType
focal_class.interfaces: implements IAtomType, Serializable, Cloneable
focal_class.class_method_signature: AtomType.AtomType(String elementSymbol)
focal_class.full_signature: public  AtomType(String elementSymbol)
focal_class.identifier: AtomType
focal_class.modifiers: public
focal_class.parameters: (String elementSymbol)
focal_class.signature:  AtomType(String elementSymbol)
focal_class.class_method_signature: AtomType.AtomType(String identifier, String elementSymbol)
focal_class.full_signature: public  AtomType(String identifier, String elementSymbol)
focal_class.identifier: AtomType
focal_class.modifiers: public
focal_class.parameters: (String identifier, String elementSymbol)
focal_class.signature:  AtomType(String identifier, String elementSymbol)
focal_class.class_method_signature: AtomType.AtomType(IElement element)
focal_class.full_signature: public  AtomType(IElement element)
focal_class.identifier: AtomType
focal_class.modifiers: public
focal_class.parameters: (IElement element)
focal_class.signature:  AtomType(IElement element)
focal_class.class_method_signature: AtomType.setAtomTypeName(String identifier)
focal_class.full_signature: @Override public void setAtomTypeName(String identifier)
focal_class.identifier: setAtomTypeName
focal_class.modifiers: @Override public
focal_class.parameters: (String identifier)
focal_class.return: void
focal_class.signature: void setAtomTypeName(String identifier)
focal_class.class_method_signature: AtomType.setMaxBondOrder(IBond.Order maxBondOrder)
focal_class.full_signature: @Override public void setMaxBondOrder(IBond.Order maxBondOrder)
focal_class.identifier: setMaxBondOrder
focal_class.modifiers: @Override public
focal_class.parameters: (IBond.Order maxBondOrder)
focal_class.return: void
focal_class.signature: void setMaxBondOrder(IBond.Order maxBondOrder)
focal_class.class_method_signature: AtomType.setBondOrderSum(Double bondOrderSum)
focal_class.full_signature: @Override public void setBondOrderSum(Double bondOrderSum)
focal_class.identifier: setBondOrderSum
focal_class.modifiers: @Override public
focal_class.parameters: (Double bondOrderSum)
focal_class.return: void
focal_class.signature: void setBondOrderSum(Double bondOrderSum)
focal_class.class_method_signature: AtomType.getAtomTypeName()
focal_class.full_signature: @Override public String getAtomTypeName()
focal_class.identifier: getAtomTypeName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getAtomTypeName()
focal_class.class_method_signature: AtomType.getMaxBondOrder()
focal_class.full_signature: @Override public IBond.Order getMaxBondOrder()
focal_class.identifier: getMaxBondOrder
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: IBond.Order
focal_class.signature: IBond.Order getMaxBondOrder()
focal_class.class_method_signature: AtomType.getBondOrderSum()
focal_class.full_signature: @Override public Double getBondOrderSum()
focal_class.identifier: getBondOrderSum
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Double
focal_class.signature: Double getBondOrderSum()
focal_class.class_method_signature: AtomType.setFormalCharge(Integer charge)
focal_class.full_signature: @Override public void setFormalCharge(Integer charge)
focal_class.identifier: setFormalCharge
focal_class.modifiers: @Override public
focal_class.parameters: (Integer charge)
focal_class.return: void
focal_class.signature: void setFormalCharge(Integer charge)
focal_class.class_method_signature: AtomType.getFormalCharge()
focal_class.full_signature: @Override public Integer getFormalCharge()
focal_class.identifier: getFormalCharge
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Integer
focal_class.signature: Integer getFormalCharge()
focal_class.class_method_signature: AtomType.setFormalNeighbourCount(Integer count)
focal_class.full_signature: @Override public void setFormalNeighbourCount(Integer count)
focal_class.identifier: setFormalNeighbourCount
focal_class.modifiers: @Override public
focal_class.parameters: (Integer count)
focal_class.return: void
focal_class.signature: void setFormalNeighbourCount(Integer count)
focal_class.class_method_signature: AtomType.getFormalNeighbourCount()
focal_class.full_signature: @Override public Integer getFormalNeighbourCount()
focal_class.identifier: getFormalNeighbourCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Integer
focal_class.signature: Integer getFormalNeighbourCount()
focal_class.class_method_signature: AtomType.setHybridization(IAtomType.Hybridization hybridization)
focal_class.full_signature: @Override public void setHybridization(IAtomType.Hybridization hybridization)
focal_class.identifier: setHybridization
focal_class.modifiers: @Override public
focal_class.parameters: (IAtomType.Hybridization hybridization)
focal_class.return: void
focal_class.signature: void setHybridization(IAtomType.Hybridization hybridization)
focal_class.class_method_signature: AtomType.getHybridization()
focal_class.full_signature: @Override public IAtomType.Hybridization getHybridization()
focal_class.identifier: getHybridization
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: IAtomType.Hybridization
focal_class.signature: IAtomType.Hybridization getHybridization()
focal_class.class_method_signature: AtomType.compare(Object object)
focal_class.full_signature: @Override public boolean compare(Object object)
focal_class.identifier: compare
focal_class.modifiers: @Override public
focal_class.parameters: (Object object)
focal_class.return: boolean
focal_class.signature: boolean compare(Object object)
focal_class.class_method_signature: AtomType.setCovalentRadius(Double radius)
focal_class.full_signature: @Override public void setCovalentRadius(Double radius)
focal_class.identifier: setCovalentRadius
focal_class.modifiers: @Override public
focal_class.parameters: (Double radius)
focal_class.return: void
focal_class.signature: void setCovalentRadius(Double radius)
focal_class.class_method_signature: AtomType.getCovalentRadius()
focal_class.full_signature: @Override public Double getCovalentRadius()
focal_class.identifier: getCovalentRadius
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Double
focal_class.signature: Double getCovalentRadius()
focal_class.class_method_signature: AtomType.setValency(Integer valency)
focal_class.full_signature: @Override public void setValency(Integer valency)
focal_class.identifier: setValency
focal_class.modifiers: @Override public
focal_class.parameters: (Integer valency)
focal_class.return: void
focal_class.signature: void setValency(Integer valency)
focal_class.class_method_signature: AtomType.getValency()
focal_class.full_signature: @Override public Integer getValency()
focal_class.identifier: getValency
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Integer
focal_class.signature: Integer getValency()
focal_class.class_method_signature: AtomType.clone()
focal_class.full_signature: @Override public Object clone()
focal_class.identifier: clone
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Object
focal_class.signature: Object clone()
focal_class.class_method_signature: AtomType.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.superclass: extends Isotope
focal_method.body: @Override
      public boolean compare(Object object) {
          if (!(object instanceof IAtomType)) {
              return false;
          }
          if (!super.compare(object)) {
              return false;
          }
          AtomType type = (AtomType) object;
          return Objects.equal(getAtomTypeName(), type.getAtomTypeName())
                  && Objects.equal(maxBondOrder, type.maxBondOrder) && Objects.equal(bondOrderSum, type.bondOrderSum);
      }
focal_method.class_method_signature: AtomType.compare(Object object)
focal_method.full_signature: @Override public boolean compare(Object object)
focal_method.identifier: compare
focal_method.invocations: compare equal getAtomTypeName getAtomTypeName equal equal
focal_method.modifiers: @Override public
focal_method.parameters: (Object object)
focal_method.return: boolean
focal_method.signature: boolean compare(Object object)