public class IterableUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IterableUtil.IterableImpl |
static class |
IterableUtil.IteratorImpl |
Constructor and Description |
---|
IterableUtil() |
Modifier and Type | Method and Description |
---|---|
static <T> Iterable<T> |
getIterableFromStream(Stream<T> stream) |
static <T> Stream<T> |
getStreamFromIterable(Iterable<T> iterable) |
static <T> Stream<T> |
getStreamFromIterator(Iterator<T> iterator) |
Copyright © 2022 Oracle Corporation. All rights reserved.