@Test public void testHashCode() { String a = "aaa"; String n = null; assertEquals(ObjectsCompat.hashCode(a), a.hashCode()); assertEquals(ObjectsCompat.hashCode(n), 0); }
public static int hashCode(@Nullable Object o) { return o != null ? o.hashCode() : 0; }
ObjectsCompat { public static int hashCode(@Nullable Object o) { return o != null ? o.hashCode() : 0; } }
ObjectsCompat { public static int hashCode(@Nullable Object o) { return o != null ? o.hashCode() : 0; } private  ObjectsCompat(); }
ObjectsCompat { public static int hashCode(@Nullable Object o) { return o != null ? o.hashCode() : 0; } private  ObjectsCompat(); static boolean equals(@Nullable Object a, @Nullable Object b); static int hashCode(@Nullable Object o); static int hash(@Nullable Object... values); }
ObjectsCompat { public static int hashCode(@Nullable Object o) { return o != null ? o.hashCode() : 0; } private  ObjectsCompat(); static boolean equals(@Nullable Object a, @Nullable Object b); static int hashCode(@Nullable Object o); static int hash(@Nullable Object... values);  }