Fill ArrayList with hashmaps
<p>I want to fill an <em>ArrayList</em> (<strong>Appointment_List</strong>) with <em>HashMap</em>'s (<strong>Appointment</strong>), but each time I need to change the value of specified elements(<strong>Appt_Start_Time</strong> and <strong>endtime</strong>).</p>

<p>Here is the code:</p>

<pre><code>for (int i = 1; i &lt; Appt_Length; i++) {
    Start_Time = End_Time;
    Start_Minute = Curr_Start_Minute;
    Start_Minute += My_Calendar.Get_Time_Interval();
    if (Start_Minute &gt;= 60) {
        Tmp_Start_Hour += 1;
        Curr_Start_Minute = 0;
    } else {
        Curr_Start_Minute = Start_Minute;
    }
    End_Time = Time.Get_Index_Time(Tmp_Start_Hour, Curr_Start_Minute);
    Appointment.remove("Appt_Start_Time");
    Appointment.put("Appt_Start_Time", Start_Time);
    Appointment.remove("endtime");
    Appointment.put("endtime", End_Time);
    Appointment_List.add(Appointment);
}
</code></pre>

<p>But after I execute this code I got the appointments in the <strong>Appointment_List</strong> but all of them have <code>Appointment.get("Appt_Start_Time")</code> and <code>Appointment.get("endtime")</code> equals to last values the loop come with.</p>

<p>Why is <strong>Appt_Start_Time</strong> and <strong>endtime</strong> reseted each time, when I add a new element?</p>
