Package org.pkl.core.runtime
Class Iterators.TruffleIterator<T>
- java.lang.Object
-
- org.pkl.core.runtime.Iterators.TruffleIterator<T>
-
- All Implemented Interfaces:
java.util.Iterator<T>
- Enclosing class:
- Iterators
public static final class Iterators.TruffleIterator<T> extends java.lang.Object implements java.util.Iterator<T>An iterator for iterables that performs all work behind Truffle boundaries.
-
-
Constructor Summary
Constructors Constructor Description TruffleIterator(java.lang.Iterable<? extends T> iterable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidforEachRemaining(java.util.function.Consumer<? super T> action)booleanhasNext()Tnext()voidremove()
-