Modifier and Type | Field and Description |
---|---|
protected Comparator<ITask> |
comparator |
Modifier | Constructor and Description |
---|---|
protected |
AbstractTaskSet(Comparator<ITask> comp) |
Modifier and Type | Method and Description |
---|---|
boolean |
addTask(ITask t)
Add a task to the task set
|
boolean |
addTasks(List<ITask> t) |
ITaskSet |
cloneTaskSet() |
int |
getAllTasksCount() |
SortedSet<ITask> |
getHeadSet(ITask task,
boolean inclusive) |
int |
getId() |
ITask |
getOne() |
Iterator<ITask> |
iterator() |
int |
setId(int id) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getActiveTasks
protected final Comparator<ITask> comparator
protected AbstractTaskSet(Comparator<ITask> comp)
public boolean addTask(ITask t)
ITaskSet
public int getAllTasksCount()
getAllTasksCount
in interface ITaskSet
public SortedSet<ITask> getHeadSet(ITask task, boolean inclusive)
getHeadSet
in interface ITaskSet
public ITaskSet cloneTaskSet()
cloneTaskSet
in interface ITaskSet
Copyright © 2012. All Rights Reserved.