while (enum.hasMoreElements()) { oa = (OrgActivity)enum.nextElement();
while (en.hasMoreElements()) { oa = (OrgActivity)en.nextElement();
  public OrgActivity getOrgActivity(long t) {    long end_time, start_time;    Enumeration enum = orgActivities_.elements();    OrgActivity oa;    while (enum.hasMoreElements()) {      oa = (OrgActivity)enum.nextElement();      start_time = getStartTime(oa);      end_time = getEndTime(oa);      if ((t >= start_time) && (t < end_time)) {	return oa;      }    }