Class FlatCollectIterator<T,​V>

  • All Implemented Interfaces:
    Iterator<V>

    public final class FlatCollectIterator<T,​V>
    extends Object
    implements Iterator<V>
    • Constructor Detail

      • FlatCollectIterator

        public FlatCollectIterator​(Iterator<T> newIterator,
                                   Function<? super T,​? extends Iterable<V>> newFunction)
    • Method Detail

      • remove

        public void remove()
        Specified by:
        remove in interface Iterator<T>
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface Iterator<T>
      • next

        public V next()
        Specified by:
        next in interface Iterator<T>