Class RangeBasedSpliterator.ZipRef<U,V,T>

All Implemented Interfaces:
Cloneable, Spliterator<T>
Enclosing class:
RangeBasedSpliterator<T,S extends RangeBasedSpliterator<T,?>>

static final class RangeBasedSpliterator.ZipRef<U,V,T> extends RangeBasedSpliterator<T,RangeBasedSpliterator.ZipRef<U,V,T>>
  • Field Details

    • l1

      private final List<U> l1
    • l2

      private final List<V> l2
    • mapper

      private final BiFunction<? super U,? super V,? extends T> mapper
  • Constructor Details

    • ZipRef

      public ZipRef(int fromInclusive, int toExclusive, BiFunction<? super U,? super V,? extends T> mapper, List<U> l1, List<V> l2)
  • Method Details

    • tryAdvance

      public boolean tryAdvance(Consumer<? super T> action)
    • forEachRemaining

      public void forEachRemaining(Consumer<? super T> action)