test_class.file: base/isomorphism/src/test/java/org/openscience/cdk/isomorphism/matchers/RGroupListTest.java
test_class.identifier: RGroupListTest
test_class.superclass: extends CDKTestCase
test_case.body: @Test(expected = CDKException.class)
      public void testOccurrenceNotSmallerThanZero() throws CDKException {
          RGroupList rgrLst = new RGroupList(1);
          rgrLst.setOccurrence("<0");
      }
test_case.class_method_signature: RGroupListTest.testOccurrenceNotSmallerThanZero()
test_case.full_signature: @Test(expected = CDKException.class) public void testOccurrenceNotSmallerThanZero()
test_case.identifier: testOccurrenceNotSmallerThanZero
test_case.invocations: setOccurrence
test_case.modifiers: @Test(expected = CDKException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testOccurrenceNotSmallerThanZero()
focal_class.declarator: DEFAULT_OCCURRENCE = ">0"
focal_class.modifier: public final static
focal_class.original_string: public final static String DEFAULT_OCCURRENCE = ">0";
focal_class.type: String
focal_class.var_name: DEFAULT_OCCURRENCE
focal_class.declarator: rGroupNumber
focal_class.modifier: private
focal_class.original_string: private int                rGroupNumber;
focal_class.type: int
focal_class.var_name: rGroupNumber
focal_class.declarator: restH
focal_class.modifier: private
focal_class.original_string: private boolean            restH;
focal_class.type: boolean
focal_class.var_name: restH
focal_class.declarator: occurrence
focal_class.modifier: private
focal_class.original_string: private String             occurrence;
focal_class.type: String
focal_class.var_name: occurrence
focal_class.declarator: rGroups
focal_class.modifier: private
focal_class.original_string: private List<RGroup>       rGroups;
focal_class.type: List<RGroup>
focal_class.var_name: rGroups
focal_class.declarator: requiredRGroupNumber
focal_class.modifier: private
focal_class.original_string: private int                requiredRGroupNumber;
focal_class.type: int
focal_class.var_name: requiredRGroupNumber
focal_class.file: base/isomorphism/src/main/java/org/openscience/cdk/isomorphism/matchers/RGroupList.java
focal_class.identifier: RGroupList
focal_class.class_method_signature: RGroupList.RGroupList(int rGroupNumber)
focal_class.full_signature: public  RGroupList(int rGroupNumber)
focal_class.identifier: RGroupList
focal_class.modifiers: public
focal_class.parameters: (int rGroupNumber)
focal_class.signature:  RGroupList(int rGroupNumber)
focal_class.class_method_signature: RGroupList.RGroupList(int rGroupNumber, boolean restH, String occurrence, int requiredRGroupNumber)
focal_class.full_signature: public  RGroupList(int rGroupNumber, boolean restH, String occurrence, int requiredRGroupNumber)
focal_class.identifier: RGroupList
focal_class.modifiers: public
focal_class.parameters: (int rGroupNumber, boolean restH, String occurrence, int requiredRGroupNumber)
focal_class.signature:  RGroupList(int rGroupNumber, boolean restH, String occurrence, int requiredRGroupNumber)
focal_class.class_method_signature: RGroupList.setRGroupNumber(int rGroupNumber)
focal_class.full_signature: public void setRGroupNumber(int rGroupNumber)
focal_class.identifier: setRGroupNumber
focal_class.modifiers: public
focal_class.parameters: (int rGroupNumber)
focal_class.return: void
focal_class.signature: void setRGroupNumber(int rGroupNumber)
focal_class.class_method_signature: RGroupList.getRGroupNumber()
focal_class.full_signature: public int getRGroupNumber()
focal_class.identifier: getRGroupNumber
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getRGroupNumber()
focal_class.class_method_signature: RGroupList.setRestH(boolean restH)
focal_class.full_signature: public void setRestH(boolean restH)
focal_class.identifier: setRestH
focal_class.modifiers: public
focal_class.parameters: (boolean restH)
focal_class.return: void
focal_class.signature: void setRestH(boolean restH)
focal_class.class_method_signature: RGroupList.isRestH()
focal_class.full_signature: public boolean isRestH()
focal_class.identifier: isRestH
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isRestH()
focal_class.class_method_signature: RGroupList.setRequiredRGroupNumber(int rGroupNumberImplicated)
focal_class.full_signature: public void setRequiredRGroupNumber(int rGroupNumberImplicated)
focal_class.identifier: setRequiredRGroupNumber
focal_class.modifiers: public
focal_class.parameters: (int rGroupNumberImplicated)
focal_class.return: void
focal_class.signature: void setRequiredRGroupNumber(int rGroupNumberImplicated)
focal_class.class_method_signature: RGroupList.getRequiredRGroupNumber()
focal_class.full_signature: public int getRequiredRGroupNumber()
focal_class.identifier: getRequiredRGroupNumber
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getRequiredRGroupNumber()
focal_class.class_method_signature: RGroupList.setRGroups(List<RGroup> rGroups)
focal_class.full_signature: public void setRGroups(List<RGroup> rGroups)
focal_class.identifier: setRGroups
focal_class.modifiers: public
focal_class.parameters: (List<RGroup> rGroups)
focal_class.return: void
focal_class.signature: void setRGroups(List<RGroup> rGroups)
focal_class.class_method_signature: RGroupList.getRGroups()
focal_class.full_signature: public List<RGroup> getRGroups()
focal_class.identifier: getRGroups
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<RGroup>
focal_class.signature: List<RGroup> getRGroups()
focal_class.class_method_signature: RGroupList.getOccurrence()
focal_class.full_signature: public String getOccurrence()
focal_class.identifier: getOccurrence
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getOccurrence()
focal_class.class_method_signature: RGroupList.setOccurrence(String occurrence)
focal_class.full_signature: public void setOccurrence(String occurrence)
focal_class.identifier: setOccurrence
focal_class.modifiers: public
focal_class.parameters: (String occurrence)
focal_class.return: void
focal_class.signature: void setOccurrence(String occurrence)
focal_class.class_method_signature: RGroupList.isValidOccurrenceSyntax(String occ)
focal_class.full_signature: public static boolean isValidOccurrenceSyntax(String occ)
focal_class.identifier: isValidOccurrenceSyntax
focal_class.modifiers: public static
focal_class.parameters: (String occ)
focal_class.return: boolean
focal_class.signature: boolean isValidOccurrenceSyntax(String occ)
focal_class.class_method_signature: RGroupList.match(String regExp, String userInput)
focal_class.full_signature: private static boolean match(String regExp, String userInput)
focal_class.identifier: match
focal_class.modifiers: private static
focal_class.parameters: (String regExp, String userInput)
focal_class.return: boolean
focal_class.signature: boolean match(String regExp, String userInput)
focal_class.class_method_signature: RGroupList.matchOccurence(int maxAttachments)
focal_class.full_signature: public List<Integer> matchOccurence(int maxAttachments)
focal_class.identifier: matchOccurence
focal_class.modifiers: public
focal_class.parameters: (int maxAttachments)
focal_class.return: List<Integer>
focal_class.signature: List<Integer> matchOccurence(int maxAttachments)
focal_class.class_method_signature: RGroupList.equals(Object obj)
focal_class.full_signature: @Override public boolean equals(Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(Object obj)
focal_class.class_method_signature: RGroupList.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_method.body: public void setOccurrence(String occurrence) throws CDKException {
          if (occurrence == null || occurrence.equals("")) {
              occurrence = ">0"; //revert to default
          } else {
              occurrence = occurrence.trim().replaceAll(" ", "");
              if (isValidOccurrenceSyntax(occurrence)) {
                  this.occurrence = occurrence;
              } else
                  throw new CDKException("Invalid occurence line: " + occurrence);
          }
      }
focal_method.class_method_signature: RGroupList.setOccurrence(String occurrence)
focal_method.full_signature: public void setOccurrence(String occurrence)
focal_method.identifier: setOccurrence
focal_method.invocations: equals replaceAll trim isValidOccurrenceSyntax
focal_method.modifiers: public
focal_method.parameters: (String occurrence)
focal_method.return: void
focal_method.signature: void setOccurrence(String occurrence)