public final class StreamUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StreamUtils.EmptyHolder |
static class |
StreamUtils.FunctionIdentityHolder |
| Modifier and Type | Method and Description |
|---|---|
static <T> StreamIterator<T> |
iterator(StreamIterable<T> iter) |
static <T> BiFunction<List<T>,T,List<T>> |
listAccumulator() |
static <T> T |
next(StreamIterator<T> it) |
static InputStream |
toInputStream(Stream<? extends byte[]> stream) |
public static <T> StreamIterator<T> iterator(StreamIterable<T> iter)
public static <T> T next(StreamIterator<T> it)
public static InputStream toInputStream(Stream<? extends byte[]> stream)
public static <T> BiFunction<List<T>,T,List<T>> listAccumulator()
Copyright © 2018–2023. All rights reserved.