|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object be.ac.ua.broker.input.tasks.SubTaskCollection
public class SubTaskCollection
This class represents a collection of subTasks.
Constructor Summary | |
---|---|
SubTaskCollection()
Constructor for SubTaskCollection |
|
SubTaskCollection(java.util.List<SubTask> tasks)
Constructor for SubTaskCollection |
|
SubTaskCollection(long length,
TaskSpecification spec)
Constructor for SubTaskCollection |
Method Summary | |
---|---|
void |
addTaskHour(SubTask sub)
Add a subTask to the collection |
int |
getLength()
|
SubTask |
getTask(int i)
Getter for a specific subTask in the collection |
java.util.List<SubTask> |
getWorkload()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubTaskCollection()
public SubTaskCollection(java.util.List<SubTask> tasks)
tasks
- the initial list of subTasks that are part of the collectionpublic SubTaskCollection(long length, TaskSpecification spec)
length
- the number of subTasks in the collectionspec
- the specification of the original task all the subTasks in the
collection are a part ofMethod Detail |
---|
public void addTaskHour(SubTask sub)
sub
- the subTask to add to the collectionpublic SubTask getTask(int i)
i
- the number of the subTask to get from the collection
public int getLength()
public java.util.List<SubTask> getWorkload()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |