package h4bit.h4bit;

import java.util.ArrayList;

/**
 * Created by bhlewka on 11/3/17.
 */

public class HabitEventList extends HabitList{
    private ArrayList<HabitEvent> habitEventArrayList;

    public void addHabitEvent(HabitEvent habitEvent){
        this.habitEventArrayList.add(habitEvent);
    }
}

package h4bit.h4bit;

import java.util.ArrayList;

/**
 * Created by Alex on 2017-11-03.
 */

public class HabitEventList {
    private ArrayList<HabitEvent> habitEventList;

    public HabitEventList(){
        habitEventList = new ArrayList<HabitEvent>();
    }

    public void addHabitEvent(HabitEvent habitEvent){
        this.habitEventList.add(habitEvent);
    }

    public void deleteHabitEvent(HabitEvent habitEvent){
        this.habitEventList.remove(habitEvent);
    }

}

Update HabitEventList.java