Class LazyCollection.CollectIterator<T>

    • Field Detail

      • inner

        protected final java.util.Iterator<?> inner
      • function

        protected final CodeBlock function
      • parentFrame

        protected final StackFrame parentFrame
    • Constructor Detail

      • CollectIterator

        public CollectIterator​(java.lang.Iterable<?> inner,
                               CodeBlock function,
                               StackFrame parentFrame)
        Creates a LazyCollection.CollectIterator with condition on inner.
        Parameters:
        inner - the underlying collection
        function - the value function
        parentFrame - the parent stack frame context
    • Method Detail

      • hasNext

        public boolean hasNext()
      • next

        public T next()