/** * Overridden to match the behavior of {@code compareTo(Completion)}. * * @param other Another object. * @return Whether these two objects are equal. */ @Override public boolean equals(Object other) { return other instanceof Completion && compareTo((Completion)other) == 0; }