| Package | Description |
|---|---|
| org.rapidoid.fluent | |
| org.rapidoid.fluent.flow |
| Modifier and Type | Method and Description |
|---|---|
Flow<T> |
Flow.reverse()
Reverses the order of the elements in the flow.
|
<R> Flow<T> |
Flow.withNonNull(Function<? super T,R> transformation)
Equivalent to
stream.filter(x -> transformation.apply(x) != null)). |
<R> Flow<T> |
Flow.withNull(Function<? super T,R> transformation)
Equivalent to
filter(x -> transformation.apply(x) == null). |
| Modifier and Type | Class and Description |
|---|---|
class |
FlowImpl<T> |
| Modifier and Type | Method and Description |
|---|---|
Flow<T> |
FlowImpl.reverse()
Reverses the order of the elements in the flow.
|
<R> Flow<T> |
FlowImpl.withNonNull(Function<? super T,R> transformation)
Equivalent to
stream.filter(x -> transformation.apply(x) != null)). |
<R> Flow<T> |
FlowImpl.withNull(Function<? super T,R> transformation)
Equivalent to
filter(x -> transformation.apply(x) == null). |
Copyright © 2014–2016 Nikolche Mihajlovski and contributors. All rights reserved.