@Override public String toString() { String rtn = "~* Name: " + name + ", Place: " + place + " *~"; for (int i = 0; i < meals.length; i++) { rtn += "\n" + DayOfWeek.values()[i]; for (Meal m : meals[i]) rtn += "\n" + m.toString(); } return rtn; }
public boolean removeMeal(final Meal m, final DayOfWeek d) { return meals[d.ordinal()].remove(m); }
public boolean addMeal(final Meal m, final DayOfWeek d) { return meals[d.ordinal()].add(m); }