public static interface TaskManager.Task extends Runnable
Modifier and Type | Method and Description |
---|---|
boolean |
runAfter(List tasks,
int size)
Return true if this task must be run after at least one task
in the given task list with an index less than size (size may be
less then tasks.size()).
|
boolean runAfter(List tasks, int size)
tasks
- the tasks to consider. A read-only List, with all
elements instanceof Task.size
- elements with index less than size should be consideredCopyright © 2016–2018. All rights reserved.