@Override public int compareTo(Operation other) { if (other == this || other == null) return(0); return this.getRelation().compareTo(other.getRelation()); } }
@Override public int compareTo(Operator other) { if (other == this || other == null) return(0); return this.getRelation().compareTo(other.getRelation()); }