Class Zipped<Left,​Right,​Result>

  • All Implemented Interfaces:
    java.util.Iterator<Result>

    public final class Zipped<Left,​Right,​Result>
    extends BaseIterator<Result>
    An Iterator combining the elements of two given Iterators using a BiFunction.

    The result has as many elements as the shorter of both Iterators.

    • Constructor Summary

      Constructors 
      Constructor Description
      Zipped​(java.util.Iterator<Left> left, java.util.Iterator<Right> right, BiFunction<? super Left,​? super Right,​? extends Result> function)  
    • Constructor Detail

    • Method Detail

      • hasNext

        public boolean hasNext()