public class Tasks
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Tasks.Builder<I> |
static interface |
Tasks.FailureTask<I,E extends java.lang.Exception> |
static interface |
Tasks.Task<I,E extends java.lang.Exception> |
static class |
Tasks.UnrecoverableException |
Modifier and Type | Method and Description |
---|---|
static <I> Tasks.Builder<I> |
foreach(I... items) |
static <I> Tasks.Builder<I> |
foreach(java.lang.Iterable<I> items) |
static <I> Tasks.Builder<I> |
foreach(java.util.Iterator<I> items) |
static <I> Tasks.Builder<I> |
foreach(java.util.stream.Stream<I> items) |
static Tasks.Builder<java.lang.Integer> |
range(int upTo) |
public static Tasks.Builder<java.lang.Integer> range(int upTo)
public static <I> Tasks.Builder<I> foreach(java.util.Iterator<I> items)
public static <I> Tasks.Builder<I> foreach(java.lang.Iterable<I> items)
@SafeVarargs public static <I> Tasks.Builder<I> foreach(I... items)
public static <I> Tasks.Builder<I> foreach(java.util.stream.Stream<I> items)