Package net.kyori.adventure.util
Class ForwardingIterator<T>
- java.lang.Object
-
- net.kyori.adventure.util.ForwardingIterator<T>
-
-
Constructor Summary
Constructors Constructor Description ForwardingIterator(@NotNull Supplier<Iterator<T>> iterator, @NotNull Supplier<Spliterator<T>> spliterator)
Creates a new forwarding iterable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Iterator<T>
iterator()
@NotNull Spliterator<T>
spliterator()
-
-
-
Method Detail
-
spliterator
@NotNull public @NotNull Spliterator<T> spliterator()
- Specified by:
spliterator
in interfaceIterable<T>
-
-