@Override public boolean equals(Object object) { if (!(object instanceof BinCondition)) { return false; } BinCondition other = (BinCondition) object; return this.type().equals(other.type()) && this.left().equals(other.left()) && this.right().equals(other.right()); }
@Override public int hashCode() { return this.type().hashCode() ^ this.relation().hashCode() ^ this.key().hashCode() ^ this.value().hashCode(); }
@Override public String toString() { return String.format("%s %s %s", this.left, this.type().name(), this.right); }
@Override public int hashCode() { return this.type().hashCode() ^ this.left().hashCode() ^ this.right().hashCode(); } }
@Override public String toString() { return String.format("%s %s %s", this.left, this.type().name(), this.right); }
@Override public boolean equals(Object object) { if (!(object instanceof BinCondition)) { return false; } BinCondition other = (BinCondition) object; return this.type().equals(other.type()) && this.left().equals(other.left()) && this.right().equals(other.right()); }
@Override public int hashCode() { return this.type().hashCode() ^ this.relation().hashCode() ^ this.key().hashCode() ^ this.value().hashCode(); }
@Override public int hashCode() { return this.type().hashCode() ^ this.left().hashCode() ^ this.right().hashCode(); } }