@Test public void testNullObjectHash() { final int h1 = LangUtils.hashCode(LangUtils.HASH_SEED, null); final int h2 = LangUtils.hashCode(LangUtils.HASH_SEED, 0); Assert.assertTrue(h1 == h2); }
public static int hashCode(final int seed, final int hashcode) { return seed * HASH_OFFSET + hashcode; }
LangUtils { public static int hashCode(final int seed, final int hashcode) { return seed * HASH_OFFSET + hashcode; } }
LangUtils { public static int hashCode(final int seed, final int hashcode) { return seed * HASH_OFFSET + hashcode; } private  LangUtils(); }
LangUtils { public static int hashCode(final int seed, final int hashcode) { return seed * HASH_OFFSET + hashcode; } private  LangUtils(); static int hashCode(final int seed, final int hashcode); static int hashCode(final int seed, final boolean b); static int hashCode(final int seed, final Object obj); static boolean equals(final Object obj1, final Object obj2); static boolean equals(final Object[] a1, final Object[] a2); }
LangUtils { public static int hashCode(final int seed, final int hashcode) { return seed * HASH_OFFSET + hashcode; } private  LangUtils(); static int hashCode(final int seed, final int hashcode); static int hashCode(final int seed, final boolean b); static int hashCode(final int seed, final Object obj); static boolean equals(final Object obj1, final Object obj2); static boolean equals(final Object[] a1, final Object[] a2); static final int HASH_SEED; static final int HASH_OFFSET; }