Lines Matching refs:hashCode
52 * @tests java.lang.Byte#hashCode()
57 method = "hashCode",
61 assertEquals(1, new Byte((byte) 1).hashCode());
62 assertEquals(2, new Byte((byte) 2).hashCode());
63 assertEquals(0, new Byte((byte) 0).hashCode());
64 assertEquals(-1, new Byte((byte) -1).hashCode());
678 * @tests java.lang.Byte#hashCode()
683 method = "hashCode",
687 // Test for method int java.lang.Byte.hashCode()
688 assertEquals("Incorrect hash returned", 127, new Byte((byte) 127).hashCode());