| Package | Description |
|---|---|
| com.annimon.stream | |
| com.annimon.stream.function | |
| com.annimon.stream.operator |
| Modifier and Type | Method and Description |
|---|---|
static LongStream |
LongStream.generate(LongSupplier s)
Creates a
LongStream by elements that generated by LongSupplier. |
long |
OptionalLong.orElseGet(LongSupplier other)
Returns the value if present, otherwise returns value produced by supplier function.
|
| Modifier and Type | Method and Description |
|---|---|
static LongSupplier |
LongSupplier.Util.safe(ThrowableLongSupplier<Throwable> throwableSupplier)
Creates a safe
LongSupplier. |
static LongSupplier |
LongSupplier.Util.safe(ThrowableLongSupplier<Throwable> throwableSupplier,
long resultIfFailed)
Creates a safe
LongSupplier. |
| Constructor and Description |
|---|
LongGenerate(LongSupplier supplier) |
Copyright © 2017. All rights reserved.