boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Variable variable = (Variable)o; if (lineNumber != variable.lineNumber) return false; if (!name.equals(variable.name)) return false; return true; }