1 54 package com.mullassery.act; 55 56 import java.util.ArrayList ; 57 import java.util.List ; 58 import java.util.ListIterator ; 59 60 65 public class ACTTaskGroup { 66 List tasks; 67 68 public ACTTaskGroup() { 69 tasks = new ArrayList (); 70 } 71 72 public void add(int index, ACTTask element) { 73 tasks.add(index, element); 74 } 75 76 public boolean add(ACTTask o) { 77 return tasks.add(o); 78 } 79 80 public boolean contains(ACTTask o) { 81 return tasks.contains(o); 82 } 83 84 public ListIterator listIterator() { 85 return tasks.listIterator(); 86 } 87 88 public ACTTask remove(int index) { 89 return (ACTTask)tasks.remove(index); 90 } 91 92 public boolean remove(ACTTask o) { 93 return tasks.remove(o); 94 } 95 } 96 | Popular Tags |