Back to project page epgreader-android.
The source code is released under:
Apache License
If you think the Android project epgreader-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.jeffpalm.android.epg; // ww w . j a v a 2 s. c om abstract class AbstractEPGItem implements EPGItem { @Override public int describeContents() { return 0; } /** * @param a the first object * @param b the second object * @return whether {@code a} and {@code b} are {@code null} or equal */ protected final boolean equalsOrNull(Object a, Object b) { return a == null && b == null || a.equals(b); } /** * @param o * @return the {@code #hashCode()} of {@code o} of {@code 0} if {@code o} is {@code null}. */ protected final int hashCode(Object o) { return o == null ? 0 : o.hashCode(); } }