test_class.file: misc/diff/src/test/java/org/openscience/cdk/tools/diff/tree/BooleanArrayDifferenceTest.java
test_class.identifier: BooleanArrayDifferenceTest
test_class.superclass: extends CDKTestCase
test_case.body: @Test
      public void testTwoNull() {
          IDifference result = BooleanArrayDifference.construct("Foo", null, null);
          Assert.assertNull(result);
      }
test_case.class_method_signature: BooleanArrayDifferenceTest.testTwoNull()
test_case.full_signature: @Test public void testTwoNull()
test_case.identifier: testTwoNull
test_case.invocations: construct assertNull
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testTwoNull()
focal_class.declarator: name
focal_class.modifier: private
focal_class.original_string: private String name;
focal_class.type: String
focal_class.var_name: name
focal_class.file: misc/diff/src/main/java/org/openscience/cdk/tools/diff/tree/BooleanArrayDifference.java
focal_class.identifier: BooleanArrayDifference
focal_class.interfaces: implements IDifferenceList
focal_class.class_method_signature: BooleanArrayDifference.BooleanArrayDifference(String name)
focal_class.full_signature: private  BooleanArrayDifference(String name)
focal_class.identifier: BooleanArrayDifference
focal_class.modifiers: private
focal_class.parameters: (String name)
focal_class.signature:  BooleanArrayDifference(String name)
focal_class.class_method_signature: BooleanArrayDifference.construct(String name, boolean[] first, boolean[] second)
focal_class.full_signature: public static IDifference construct(String name, boolean[] first, boolean[] second)
focal_class.identifier: construct
focal_class.modifiers: public static
focal_class.parameters: (String name, boolean[] first, boolean[] second)
focal_class.return: IDifference
focal_class.signature: IDifference construct(String name, boolean[] first, boolean[] second)
focal_class.class_method_signature: BooleanArrayDifference.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 AbstractDifferenceList
focal_method.body: public static IDifference construct(String name, boolean[] first, boolean[] second) {
          if (first == null && second == null) return null;
  
          BooleanArrayDifference totalDiff = new BooleanArrayDifference(name);
          int firstLength = first == null ? 0 : first.length;
          int secondLength = second == null ? 0 : second.length;
          if (firstLength == secondLength) {
              for (int i = 0; i < firstLength; i++) {
                  totalDiff.addChild(BooleanDifference.construct("" + i, first[i], second[i]));
              }
          } else if (firstLength < secondLength) {
              for (int i = 0; i < firstLength; i++) {
                  totalDiff.addChild(BooleanDifference.construct("" + i, first[i], second[i]));
              }
              for (int i = firstLength; i < secondLength; i++) {
                  totalDiff.addChild(BooleanDifference.construct("" + i, null, second[i]));
              }
          } else { // secondLength < firstLength
              for (int i = 0; i < secondLength; i++) {
                  totalDiff.addChild(BooleanDifference.construct("" + i, first[i], second[i]));
              }
              for (int i = secondLength; i < firstLength; i++) {
                  totalDiff.addChild(BooleanDifference.construct("" + i, first[i], null));
              }
          }
          if (totalDiff.childCount() == 0) {
              return null;
          }
          return totalDiff;
      }
focal_method.class_method_signature: BooleanArrayDifference.construct(String name, boolean[] first, boolean[] second)
focal_method.full_signature: public static IDifference construct(String name, boolean[] first, boolean[] second)
focal_method.identifier: construct
focal_method.invocations: addChild construct addChild construct addChild construct addChild construct addChild construct childCount
focal_method.modifiers: public static
focal_method.parameters: (String name, boolean[] first, boolean[] second)
focal_method.return: IDifference
focal_method.signature: IDifference construct(String name, boolean[] first, boolean[] second)