Class CollectIterator<T,​V>

  • All Implemented Interfaces:
    Iterator<V>

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

      • CollectIterator

        public CollectIterator​(Iterable<T> iterable,
                               Function<? super T,​? extends V> function)
      • CollectIterator

        public CollectIterator​(Iterator<T> newIterator,
                               Function<? super T,​? extends V> function)
    • 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>