public interface IStream<T,E extends Exception>
| Modifier and Type | Method and Description |
|---|---|
Collection<T> |
asCollection() |
Iterable<T> |
asIterable() |
<O> List<O> |
asList() |
IObjectList<T> |
asObjectList() |
<O> IStream<O,E> |
convert(IConverter<T,O,E> funtion) |
IStream<T,E> |
distinct() |
IStream<T,E> |
filter(IAcceptor<T> funtion) |
IOptional<T,E> |
first() |
IOptional<T,E> |
first(IAcceptor<T> acceptor) |
void |
foreach(IConsumer<T,E> consumer) |
<O> IOptional<O,E> |
foreach(O inital,
IAccumulator<T,O,E> accumulator) |
Copyright © 2007–2017 Andreas Bartels. All rights reserved.