@Test public void equalsShouldSupportNulls() throws Exception { assertThat(DataenumUtils.equal(null, new Object()), is(false)); assertThat(DataenumUtils.equal(new Object(), null), is(false)); assertThat(DataenumUtils.equal(null, null), is(true)); }
public static boolean equal(@Nullable Object a, @Nullable Object b) { return a == b || (a != null && a.equals(b)); }
DataenumUtils { public static boolean equal(@Nullable Object a, @Nullable Object b) { return a == b || (a != null && a.equals(b)); } }
DataenumUtils { public static boolean equal(@Nullable Object a, @Nullable Object b) { return a == b || (a != null && a.equals(b)); } private  DataenumUtils(); }
DataenumUtils { public static boolean equal(@Nullable Object a, @Nullable Object b) { return a == b || (a != null && a.equals(b)); } private  DataenumUtils(); @Nonnull static T checkNotNull(T value); static boolean equal(@Nullable Object a, @Nullable Object b); }
DataenumUtils { public static boolean equal(@Nullable Object a, @Nullable Object b) { return a == b || (a != null && a.equals(b)); } private  DataenumUtils(); @Nonnull static T checkNotNull(T value); static boolean equal(@Nullable Object a, @Nullable Object b);  }