public class TaskList<R> extends LinkedList<Task<R>> implements ITaskGroup<R>
modCount| Constructor and Description |
|---|
TaskList() |
| Modifier and Type | Method and Description |
|---|---|
ITaskGroup<R> |
await() |
boolean |
cancel() |
ITaskGroup<R> |
executeAsync() |
ITaskGroup<R> |
executeSync() |
int |
getPriority() |
List<R> |
getResult() |
ITaskGroup<R> |
onSuccess(OnSuccess<R> onSuccess) |
ITaskGroup<R> |
setPriority(int priority) |
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArrayiteratorequals, hashCode, listIterator, removeRange, subListcontainsAll, isEmpty, removeAll, retainAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, replaceAll, retainAll, sort, subListparallelStream, removeIf, stream@NotNull public ITaskGroup<R> executeAsync()
executeAsync in interface ITaskGroup<R>@NotNull public ITaskGroup<R> executeSync()
executeSync in interface ITaskGroup<R>public int getPriority()
getPriority in interface ITaskGroup<R>@NotNull public ITaskGroup<R> setPriority(int priority)
setPriority in interface ITaskGroup<R>public boolean cancel()
cancel in interface ITaskGroup<R>@NotNull public ITaskGroup<R> await()
await in interface ITaskGroup<R>@NotNull public List<R> getResult()
getResult in interface ITaskGroup<R>@NotNull public ITaskGroup<R> onSuccess(@NotNull OnSuccess<R> onSuccess)
onSuccess in interface ITaskGroup<R>Copyright © 2016. All rights reserved.