@Test public void notEquals() { assertThat(TextUtils.notEquals(null, null), is(true)); assertThat(TextUtils.notEquals(null, ""), is(true)); assertThat(TextUtils.notEquals("", null), is(true)); assertThat(TextUtils.notEquals("", ""), is(false)); assertThat(TextUtils.notEquals("qw", "qw"), is(false)); assertThat(TextUtils.notEquals("qw", "wq"), is(true)); }
public static boolean notEquals(@Nullable String a, @Nullable String b) { return !TextUtils.equals(a, b); }
TextUtils { public static boolean notEquals(@Nullable String a, @Nullable String b) { return !TextUtils.equals(a, b); } }
TextUtils { public static boolean notEquals(@Nullable String a, @Nullable String b) { return !TextUtils.equals(a, b); } private  TextUtils(); }
TextUtils { public static boolean notEquals(@Nullable String a, @Nullable String b) { return !TextUtils.equals(a, b); } private  TextUtils(); static boolean isEmpty(@Nullable String str); static boolean notEquals(@Nullable String a, @Nullable String b); static boolean hasText(@Nullable String string); static boolean equals(@Nullable String a, @Nullable String b); }
TextUtils { public static boolean notEquals(@Nullable String a, @Nullable String b) { return !TextUtils.equals(a, b); } private  TextUtils(); static boolean isEmpty(@Nullable String str); static boolean notEquals(@Nullable String a, @Nullable String b); static boolean hasText(@Nullable String string); static boolean equals(@Nullable String a, @Nullable String b);  }