Class IteratorMapper<T,​U>

  • All Implemented Interfaces:
    Iterator<U>

    public class IteratorMapper<T,​U>
    extends Object
    implements Iterator<U>
    • Constructor Detail

      • IteratorMapper

        public IteratorMapper​(Mapper<T,​U> mapper,
                              Iterator<T> delegate)
    • Method Detail

      • hasNext

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

        public U next()
        Specified by:
        next in interface Iterator<T>
      • remove

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