@Test public void testHashCode() throws Exception { TouchIdentifier theIdentifier = new TouchIdentifier(10); assertEquals(10, theIdentifier.hashCode()); }
@Override public int hashCode() { return identifier; }
TouchIdentifier { @Override public int hashCode() { return identifier; } }
TouchIdentifier { @Override public int hashCode() { return identifier; } TouchIdentifier(int aId); }
TouchIdentifier { @Override public int hashCode() { return identifier; } TouchIdentifier(int aId); @Override boolean equals(Object o); @Override int hashCode(); }
TouchIdentifier { @Override public int hashCode() { return identifier; } TouchIdentifier(int aId); @Override boolean equals(Object o); @Override int hashCode(); final int identifier; }