Class Iterables.Zipper.Iter

  • All Implemented Interfaces:
    java.util.Iterator<C>
    Enclosing class:
    Iterables.Zipper<A,​B,​C>

    class Iterables.Zipper.Iter
    extends java.lang.Object
    implements java.util.Iterator<C>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Iterator<A> a  
      private java.util.Iterator<B> b  
    • Constructor Summary

      Constructors 
      Constructor Description
      Iter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      C next()  
      void remove()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • Field Detail

      • a

        private final java.util.Iterator<A> a
      • b

        private final java.util.Iterator<B> b
    • Constructor Detail

      • Iter

        Iter()
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<C>
      • next

        public C next()
        Specified by:
        next in interface java.util.Iterator<C>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<C>