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