public class RemoveTask extends Object implements ITreeAlgorithm<Task>
Removes the specified task from a tree of tasks.
Constructor and Description |
---|
RemoveTask(Task task)
Initializes a new instance of the
RemoveTask class. |
Modifier and Type | Method and Description |
---|---|
void |
alg(Task el,
int level)
Do nothing.
|
void |
postAlg(Task el,
int level)
Do nothing.
|
void |
preAlg(Task el,
int level)
Removes the task from the specified parent task.
|
public RemoveTask(Task task)
Initializes a new instance of the RemoveTask
class.
task
- Task to remove.public final void alg(Task el, int level)
Do nothing.
alg
in interface ITreeAlgorithm<Task>
el
- Object to process.level
- Tree node level.public final void postAlg(Task el, int level)
Do nothing.
postAlg
in interface ITreeAlgorithm<Task>
el
- Object to process.level
- Tree node level.public final void preAlg(Task el, int level)
Removes the task from the specified parent task.
preAlg
in interface ITreeAlgorithm<Task>
el
- Parent task.level
- Tree node level.