### Question:
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);  }### Answer:
@Test public void testHashCode() { String a = "aaa"; String n = null; assertEquals(ObjectsCompat.hashCode(a), a.hashCode()); assertEquals(ObjectsCompat.hashCode(n), 0); }