/** * Compares this Tuple to another object. Equality is defined by: other object is not null, * is same class as this Tuple, and all values are themselves equal. */ @Override public boolean equals(Object obj) { if (obj == this) return true; if (obj == null || !(obj.getClass() == getClass())) return false; return isMatch(obj); }
/** * Compares this Tuple to another object. Equality is defined by: other object is not null, * is same class as this Tuple, and all values are themselves equal. */ @Override public boolean equals(Object obj) { if (obj == this) return true; if (obj == null || !(obj.getClass() == getClass())) return false; return isMatch(obj); }