for (int i = 0; i < len; i++) { if (!this.argv[i].equals(that.argv[i])) { return (false); } } return (true); }
public boolean equals(Object obj) {	if (!(obj instanceof CommandEnvironment)) {		return (false);	}	CommandEnvironment that = (CommandEnvironment)obj;		if (!this.cmdpath.equals(that.cmdpath)) {		return (false);	}	int len = this.argv.length;	if (len != that.argv.length) {		return (false);	}	for (int i = 0; i < len; i++) {		if (!this.argv[i].equals(that.argv[i])) {			return (false);		}	}	return (true);}