test_class.file: feya/libraries/archive_diff/diff.generator/src/test/java/com/google/archivepatcher/generator/ByteArrayHolderTest.java
test_class.identifier: ByteArrayHolderTest
test_case.body: @Test
    public void testHashCode() {
      byte[] data1a = "hello world".getBytes();
      byte[] data1b = new String("hello world").getBytes();
      byte[] data2 = "hello another world".getBytes();
      ByteArrayHolder rawText1a = new ByteArrayHolder(data1a);
      ByteArrayHolder rawText1b = new ByteArrayHolder(data1b);
      Assert.assertEquals(rawText1a.hashCode(), rawText1b.hashCode());
      ByteArrayHolder rawText2 = new ByteArrayHolder(data2);
      Assert.assertNotEquals(rawText1a.hashCode(), rawText2.hashCode());
      ByteArrayHolder rawText3 = new ByteArrayHolder(null);
      Assert.assertNotEquals(rawText1a.hashCode(), rawText3.hashCode());
      Assert.assertNotEquals(rawText2.hashCode(), rawText3.hashCode());
    }
test_case.class_method_signature: ByteArrayHolderTest.testHashCode()
test_case.full_signature: @Test public void testHashCode()
test_case.identifier: testHashCode
test_case.invocations: getBytes getBytes getBytes assertEquals hashCode hashCode assertNotEquals hashCode hashCode assertNotEquals hashCode hashCode assertNotEquals hashCode hashCode
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testHashCode()
focal_class.declarator: data
focal_class.modifier: private final
focal_class.original_string: private final byte[] data;
focal_class.type: byte[]
focal_class.var_name: data
focal_class.file: feya/libraries/archive_diff/diff.generator/src/main/java/com/google/archivepatcher/generator/ByteArrayHolder.java
focal_class.identifier: ByteArrayHolder
focal_class.class_method_signature: ByteArrayHolder.ByteArrayHolder(byte[] data)
focal_class.full_signature: public  ByteArrayHolder(byte[] data)
focal_class.identifier: ByteArrayHolder
focal_class.modifiers: public
focal_class.parameters: (byte[] data)
focal_class.signature:  ByteArrayHolder(byte[] data)
focal_class.class_method_signature: ByteArrayHolder.getData()
focal_class.full_signature: public byte[] getData()
focal_class.identifier: getData
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: byte[]
focal_class.signature: byte[] getData()
focal_class.class_method_signature: ByteArrayHolder.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: ByteArrayHolder.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_method.body: @Override
    public int hashCode() {
      final int prime = 31;
      int result = 1;
      result = prime * result + Arrays.hashCode(data);
      return result;
    }
focal_method.class_method_signature: ByteArrayHolder.hashCode()
focal_method.full_signature: @Override public int hashCode()
focal_method.identifier: hashCode
focal_method.invocations: hashCode
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: int
focal_method.signature: int hashCode()