| Package | Description |
|---|---|
| com.annimon.stream | |
| com.annimon.stream.function | |
| com.annimon.stream.operator |
| Modifier and Type | Method and Description |
|---|---|
static IntStream |
IntStream.generate(IntSupplier s)
Returns an infinite sequential unordered stream where each element is
generated by the provided
IntSupplier. |
int |
OptionalInt.orElseGet(IntSupplier other)
Returns the value if present, otherwise invokes
other and returns
the result of that invocation. |
| Modifier and Type | Method and Description |
|---|---|
static IntSupplier |
IntSupplier.Util.safe(ThrowableIntSupplier<Throwable> throwableSupplier)
Creates a safe
IntSupplier. |
static IntSupplier |
IntSupplier.Util.safe(ThrowableIntSupplier<Throwable> throwableSupplier,
int resultIfFailed)
Creates a safe
IntSupplier. |
| Constructor and Description |
|---|
IntGenerate(IntSupplier supplier) |
Copyright © 2017. All rights reserved.