Package | Description |
---|---|
de.larssh.utils.collection |
Utilities for collection types
|
Modifier and Type | Method and Description |
---|---|
static <E> PeekableIterator<E> |
Iterators.iterator(Function<Iterators.ElementsSupplierStateHandler<E>,E> elementsSupplier)
Wraps
elementsSupplier into a PeekableIterator . |
static <E> Stream<E> |
Iterators.stream(Function<Iterators.ElementsSupplierStateHandler<E>,E> elementsSupplier)
Returns a sequential
Stream with the elementsSupplier as its
source. |
Copyright © 2025. All rights reserved.