allActivities = new Hashtable(); orderedSchedule = new Vector();
allActivities = new Hashtable<String, Activity>(); orderedSchedule = new Vector<Activity>();
    private void createDefaultActivites() {        allActivities = new Hashtable();        orderedSchedule = new Vector();        ActivityImpl bornActivityImpl = new ActivityImpl("born", 0, 0);        ActivityImpl deadActivityImpl = new ActivityImpl("dead", 0, 0);        ActivityImpl absentActivityImpl = new ActivityImpl("absent", 0, 0);        ActivityImpl sickActivityImpl = new ActivityImpl("sick", 12, 1);        myBornActivity = ActivityHelper.narrow(OrbUtils                .poaToCorbaObj(bornActivityImpl));        myDeadActivity = ActivityHelper.narrow(OrbUtils                .poaToCorbaObj(deadActivityImpl));        mySickActivity = ActivityHelper.narrow(OrbUtils                .poaToCorbaObj(sickActivityImpl));        myAbsentActivity = ActivityHelper.narrow(OrbUtils                .poaToCorbaObj(absentActivityImpl));        allActivities.put("born", myBornActivity);        orderedSchedule.add(0, myBornActivity);        allActivities.put("dead", myDeadActivity);        allActivities.put("sick", mySickActivity);        allActivities.put("absent", myAbsentActivity);    }