| Package | Description |
|---|---|
| net.pterodactylus.util.collection |
| Modifier and Type | Method and Description |
|---|---|
IteratorWrapper<T> |
IteratorWrapper.filter(Filter<? super T> filter)
Creates a new iterator wrapper that will apply the given filter to all
values returned by this wrapper’s iterator.
|
<O> IteratorWrapper<O> |
IteratorWrapper.map(Mapper<? super T,? extends O> mapper)
Creates a new iterator wrapper that will apply the given mapper to all
values returned by this wrapper’s iterator.
|
IteratorWrapper<T> |
IteratorWrapper.process(Processor<? super T> processor)
Creates a new iterator wrapper that will process all values returned by
this wrapper’s iterator with the given processor.
|
static <T> IteratorWrapper<T> |
IteratorWrapper.wrap(Iterator<T> iterator)
Convenience method that creates a new
IteratorWrapper around the
given iterator. |
Copyright © 2026. All rights reserved.