/** * Returns the item at a given index. * * @param i index of the item to retrieve */ public Object getItem(int i) { return task.getRequirement(i); }
/** Indicates whether or not the list is empty. */ public boolean isEmpty() { return task.getRequirementCount() == 0; }
/** Returns the number of items in the list. */ public int getCount() { return task.getRequirementCount(); }