entries = new Hashtable (rows); for (int i=0; i < rows; i++) { entries.put (time[i], new Entry(time[i])); }
return (Entry)this.entries.get(time[index]);
for (int i=0; i<rows; i++) if(tm.equals(time[i])) return i; return -1;
return rows;
int index = getIndex (tm); if (index >= 0) { String descr = request.getParameter ("description"); ((Entry)entries.get(time[index])).setDescription (descr); }