public boolean equals(Object obj) { if (obj instanceof UID) { UID uid = (UID)obj; if (this.unique == uid.unique && this.time == uid.time && this.count == uid.count) { return (true); } } return (false); }
public boolean equals(Object other) { if (other instanceof UID) { UID ui = (UID) other; return unique == ui.unique && time == ui.time && count == ui.count; } else return false; }
public boolean equals(Object obj) {	if (obj instanceof UID) {		UID uid = (UID)obj;		if (this.unique == uid.unique &&		    this.time == uid.time &&		    this.count == uid.count) {			return (true);		}	}	return (false);}