Class Iterators.Map<T,U>

java.lang.Object
com.sun.xml.xsom.impl.scd.Iterators.Map<T,U>
All Implemented Interfaces:
Iterator<T>
Enclosing class:
Iterators

public abstract static class Iterators.Map<T,U> extends Object
For each U, apply U->Iterator<T> function and then iterate all the resulting T.
  • Constructor Details

    • Map

      protected Map(Iterator<? extends U> core)
  • Method Details

    • hasNext

      public boolean hasNext()
    • next

      public T next()
    • apply

      protected abstract Iterator<? extends T> apply(U u)
    • remove

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