test_class.file: platform-camel/core/src/test/java/org/openehealth/ipf/platform/camel/core/process/splitter/SplitIndexTest.java
test_class.identifier: SplitIndexTest
test_case.body: @Test
      public void testEquals() {
          SplitIndex index1a = SplitIndex.valueOf(4, false);
          SplitIndex index1b = SplitIndex.valueOf(4, false);
          SplitIndex index2 = SplitIndex.valueOf(5, false);
          SplitIndex index3 = SplitIndex.valueOf(4, true);
          
          assertTrue("Should be equal", index1a.equals(index1b));
          assertFalse("Should not be equal", index1a.equals(index2));
          assertFalse("Should not be equal", index1a.equals(index3));
          
          assertFalse("Null is never equal", index1a.equals(null));
          assertFalse("Unrelated class is never equal", index1a.equals(this));
          
          assertTrue("Same instances should be equal", index1a.equals(index1a));
      }
test_case.class_method_signature: SplitIndexTest.testEquals()
test_case.full_signature: @Test public void testEquals()
test_case.identifier: testEquals
test_case.invocations: valueOf valueOf valueOf valueOf assertTrue equals assertFalse equals assertFalse equals assertFalse equals assertFalse equals assertTrue equals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEquals()
focal_class.declarator: index
focal_class.modifier: private final
focal_class.original_string: private final int index;
focal_class.type: int
focal_class.var_name: index
focal_class.declarator: last
focal_class.modifier: private final
focal_class.original_string: private final boolean last;
focal_class.type: boolean
focal_class.var_name: last
focal_class.file: platform-camel/core/src/main/java/org/openehealth/ipf/platform/camel/core/process/splitter/SplitIndex.java
focal_class.identifier: SplitIndex
focal_class.class_method_signature: SplitIndex.valueOf(int index, boolean last)
focal_class.full_signature: public static SplitIndex valueOf(int index, boolean last)
focal_class.identifier: valueOf
focal_class.modifiers: public static
focal_class.parameters: (int index, boolean last)
focal_class.return: SplitIndex
focal_class.signature: SplitIndex valueOf(int index, boolean last)
focal_class.class_method_signature: SplitIndex.getIndex()
focal_class.full_signature: public int getIndex()
focal_class.identifier: getIndex
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getIndex()
focal_class.class_method_signature: SplitIndex.isLast()
focal_class.full_signature: public boolean isLast()
focal_class.identifier: isLast
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isLast()
focal_class.class_method_signature: SplitIndex.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: SplitIndex.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: SplitIndex.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.class_method_signature: SplitIndex.SplitIndex(int index, boolean last)
focal_class.full_signature: private  SplitIndex(int index, boolean last)
focal_class.identifier: SplitIndex
focal_class.modifiers: private
focal_class.parameters: (int index, boolean last)
focal_class.signature:  SplitIndex(int index, boolean last)
focal_method.body: @Override
      public boolean equals(Object obj) {
          if (this == obj)
              return true;
          if (obj == null)
              return false;
          if (getClass() != obj.getClass())
              return false;
          SplitIndex other = (SplitIndex) obj;
          if (index != other.index)
              return false;
          if (last != other.last)
              return false;
          return true;
      }
focal_method.class_method_signature: SplitIndex.equals(Object obj)
focal_method.full_signature: @Override public boolean equals(Object obj)
focal_method.identifier: equals
focal_method.invocations: getClass getClass
focal_method.modifiers: @Override public
focal_method.parameters: (Object obj)
focal_method.return: boolean
focal_method.signature: boolean equals(Object obj)