/** * Return true if the last and current values of this ViewData object * are equal to those of the other object. */ @Override public boolean equals(Object other) { if (!(other instanceof ViewData)) { return false; } ViewData vd = (ViewData) other; return equalsOrNull(lastValue, vd.lastValue) && equalsOrNull(curValue, vd.curValue); }
/** * Return true if the last and current values of this ViewData object * are equal to those of the other object. */ @Override public boolean equals(Object other) { if (!(other instanceof ViewData)) { return false; } ViewData vd = (ViewData) other; return equalsOrNull(lastValue, vd.lastValue) && equalsOrNull(curValue, vd.curValue); }
/** * Return true if the last and current values of this ViewData object * are equal to those of the other object. */ @Override public boolean equals(Object other) { if (!(other instanceof ViewData)) { return false; } ViewData vd = (ViewData) other; return equalsOrNull(lastValue, vd.lastValue) && equalsOrNull(curValue, vd.curValue); }