| Package | Description |
|---|---|
| net.ninjacat.smooth.concurrent | |
| net.ninjacat.smooth.iterators | |
| net.ninjacat.smooth.utils |
| Modifier and Type | Method and Description |
|---|---|
Future<E> |
Future.onFailure(Procedure<Throwable> onFailure)
Sets failed execution handler.
|
Future<E> |
Future.onSuccess(Procedure<E> onSuccess)
Sets successful execution handler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Iter.forEach(Procedure<E> executor)
Calls specified
Procedure for each element |
| Modifier and Type | Method and Description |
|---|---|
void |
Option.ifPresent(Procedure<T> proc)
Executes
Procedure if this option has value. |
Copyright © 2018. All rights reserved.