test_class.file: tool/pcore/src/test/java/org/openscience/cdk/pharmacophore/PharmacophoreAtomTest.java
test_class.identifier: PharmacophoreAtomTest
test_case.body: @Test
      public void testEquals() {
          PharmacophoreAtom patom1 = new PharmacophoreAtom("[CX2]N", "Amine", new Point3d(0, 0, 0));
          patom1.setMatchingAtoms(new int[]{1, 4, 5});
  
          PharmacophoreAtom patom2 = new PharmacophoreAtom("[CX2]N", "Amine", new Point3d(0, 0, 0));
          patom2.setMatchingAtoms(new int[]{1, 4, 5});
  
          PharmacophoreAtom patom3 = new PharmacophoreAtom("[CX2]N", "Amine", new Point3d(0, 1, 0));
          patom3.setMatchingAtoms(new int[]{1, 4, 5});
  
          PharmacophoreAtom patom4 = new PharmacophoreAtom("[CX2]N", "Amine", new Point3d(0, 0, 0));
          patom4.setMatchingAtoms(new int[]{1, 4, 6});
  
          Assert.assertEquals(patom2, patom1);
          Assert.assertNotSame(patom3, patom1);
          Assert.assertNotSame(patom4, patom1);
      }
test_case.class_method_signature: PharmacophoreAtomTest.testEquals()
test_case.full_signature: @Test public void testEquals()
test_case.identifier: testEquals
test_case.invocations: setMatchingAtoms setMatchingAtoms setMatchingAtoms setMatchingAtoms assertEquals assertNotSame assertNotSame
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEquals()
focal_class.declarator: smarts
focal_class.modifier: private
focal_class.original_string: private String smarts;
focal_class.type: String
focal_class.var_name: smarts
focal_class.declarator: matchingAtoms
focal_class.modifier: private
focal_class.original_string: private int[]  matchingAtoms;
focal_class.type: int[]
focal_class.var_name: matchingAtoms
focal_class.declarator: symbol
focal_class.modifier: private
focal_class.original_string: private String symbol;
focal_class.type: String
focal_class.var_name: symbol
focal_class.file: tool/pcore/src/main/java/org/openscience/cdk/pharmacophore/PharmacophoreAtom.java
focal_class.identifier: PharmacophoreAtom
focal_class.class_method_signature: PharmacophoreAtom.PharmacophoreAtom(String smarts, String symbol, Point3d coordinates)
focal_class.full_signature: public  PharmacophoreAtom(String smarts, String symbol, Point3d coordinates)
focal_class.identifier: PharmacophoreAtom
focal_class.modifiers: public
focal_class.parameters: (String smarts, String symbol, Point3d coordinates)
focal_class.signature:  PharmacophoreAtom(String smarts, String symbol, Point3d coordinates)
focal_class.class_method_signature: PharmacophoreAtom.PharmacophoreAtom(PharmacophoreAtom pharmacophoreAtom)
focal_class.full_signature: public  PharmacophoreAtom(PharmacophoreAtom pharmacophoreAtom)
focal_class.identifier: PharmacophoreAtom
focal_class.modifiers: public
focal_class.parameters: (PharmacophoreAtom pharmacophoreAtom)
focal_class.signature:  PharmacophoreAtom(PharmacophoreAtom pharmacophoreAtom)
focal_class.class_method_signature: PharmacophoreAtom.get(IAtom atom)
focal_class.full_signature: public static PharmacophoreAtom get(IAtom atom)
focal_class.identifier: get
focal_class.modifiers: public static
focal_class.parameters: (IAtom atom)
focal_class.return: PharmacophoreAtom
focal_class.signature: PharmacophoreAtom get(IAtom atom)
focal_class.class_method_signature: PharmacophoreAtom.setSmarts(String smarts)
focal_class.full_signature: public void setSmarts(String smarts)
focal_class.identifier: setSmarts
focal_class.modifiers: public
focal_class.parameters: (String smarts)
focal_class.return: void
focal_class.signature: void setSmarts(String smarts)
focal_class.class_method_signature: PharmacophoreAtom.getSmarts()
focal_class.full_signature: public String getSmarts()
focal_class.identifier: getSmarts
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getSmarts()
focal_class.class_method_signature: PharmacophoreAtom.setSymbol(String symbol)
focal_class.full_signature: @Override public void setSymbol(String symbol)
focal_class.identifier: setSymbol
focal_class.modifiers: @Override public
focal_class.parameters: (String symbol)
focal_class.return: void
focal_class.signature: void setSymbol(String symbol)
focal_class.class_method_signature: PharmacophoreAtom.getSymbol()
focal_class.full_signature: @Override public String getSymbol()
focal_class.identifier: getSymbol
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getSymbol()
focal_class.class_method_signature: PharmacophoreAtom.setMatchingAtoms(int[] atomIndices)
focal_class.full_signature: public void setMatchingAtoms(int[] atomIndices)
focal_class.identifier: setMatchingAtoms
focal_class.modifiers: public
focal_class.parameters: (int[] atomIndices)
focal_class.return: void
focal_class.signature: void setMatchingAtoms(int[] atomIndices)
focal_class.class_method_signature: PharmacophoreAtom.getMatchingAtoms()
focal_class.full_signature: public int[] getMatchingAtoms()
focal_class.identifier: getMatchingAtoms
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int[]
focal_class.signature: int[] getMatchingAtoms()
focal_class.class_method_signature: PharmacophoreAtom.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: PharmacophoreAtom.equals(Object o)
focal_class.full_signature: @Override public boolean equals(Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(Object o)
focal_class.superclass: extends Atom
focal_method.body: @Override
      public boolean equals(Object o) {
          if (!(o instanceof PharmacophoreAtom)) return false;
  
          PharmacophoreAtom that = (PharmacophoreAtom) o;
          return smarts.equals(that.getSmarts()) && symbol.equals(that.getSymbol())
                  && point3d.equals(that.getPoint3d()) && Arrays.equals(this.matchingAtoms, that.matchingAtoms);
      }
focal_method.class_method_signature: PharmacophoreAtom.equals(Object o)
focal_method.full_signature: @Override public boolean equals(Object o)
focal_method.identifier: equals
focal_method.invocations: equals getSmarts equals getSymbol equals getPoint3d equals
focal_method.modifiers: @Override public
focal_method.parameters: (Object o)
focal_method.return: boolean
focal_method.signature: boolean equals(Object o)