| Package | Description |
|---|---|
| net.pterodactylus.util.collection |
| Modifier and Type | Method and Description |
|---|---|
static <T> IterableWrapper<T> |
IterableWrapper.emptyIterable()
Creates a new iterable wrapper that returns iterators that do not return
any elements.
|
IterableWrapper<T> |
IterableWrapper.filter(Filter<? super T> filter)
Creates a new wrapper around the iterable that will have its elements
filtered by the given filter.
|
<O> IterableWrapper<O> |
IterableWrapper.map(Mapper<? super T,? extends O> mapper)
Creates a new wrapper around the iterable that will have its elements
mapped by the given mapper.
|
IterableWrapper<T> |
IterableWrapper.process(Processor<? super T> processor)
Creates a new wrapper around the iterable that will have its elements
processed by the given processor.
|
static <T> IterableWrapper<T> |
IterableWrapper.wrap(Iterable<T> iterable)
Convenience method that creates a new
IterableWrapper around the
given iterable. |
Copyright © 2026. All rights reserved.