| Package | Description |
|---|---|
| net.digitalid.utility.functional.failable |
Provides failable interfaces for functional programming.
|
| net.digitalid.utility.functional.interfaces |
Provides interfaces for functional programming.
|
| net.digitalid.utility.functional.iterables |
Provides iterables with functional methods.
|
| Modifier and Type | Method and Description |
|---|---|
default @Nonnull FailableCollector<INPUT,RESULT,COLLECT_EXCEPTION,RESULT_EXCEPTION> |
FailableCollector.synchronize() |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Collector<INPUT,RESULT>
A collector consumes objects of type
INPUT and produces a result of type RESULT. |
| Modifier and Type | Method and Description |
|---|---|
default <RESULT,COLLECT_EXCEPTION extends Exception,RESULT_EXCEPTION extends Exception> |
FiniteIterable.collect(@Nonnull FailableCollector<? super ELEMENT,? extends RESULT,? extends COLLECT_EXCEPTION,? extends RESULT_EXCEPTION> collector)
Returns the result of the given collector after consuming all elements of this iterable.
|
Copyright © 2017. All rights reserved.