src/main/java/seedu/address/model/calorie/Output.java
/**
     * Returns true if a otherOutput has the same attributes as this Output
     * @param otherOutput that is being checked with
     */
Returns true if a otherOutput has the same attributes as this Output
@param otherOutput that is being checked with
Returns true if a otherOutput has the same attributes as this Output @param otherOutput that is being checked with
public boolean isSameOutput(Output otherOutput) {
        return otherOutput.getExercise().exercise.equals(this.exercise.toString())
                && otherOutput.getTime().time.equals(this.time.toString())
                && otherOutput.getCalorieCount().calorieCount.equals(this.calorieCount.toString());
    }
public boolean isSameOutput ( Output otherOutput ) { return otherOutput . getExercise ( ) . exercise . equals ( this . exercise . toString ( ) ) && otherOutput . getTime ( ) . time . equals ( this . time . toString ( ) ) && otherOutput . getCalorieCount ( ) . calorieCount . equals ( this . calorieCount . toString ( ) ) ; }
Returns true if a otherOutput has the same attributes as this Output
 @param otherOutput that is being checked with
Returns true if a otherOutput has the same attributes as this Output @param otherOutput that is being checked with