Class FlattenIterator<T>

java.lang.Object
com.sun.xml.bind.v2.util.FlattenIterator<T>
All Implemented Interfaces:
Iterator<T>

public final class FlattenIterator<T> extends Object implements Iterator<T>
Iterator that walks over a map of maps.
Since:
2.0
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • FlattenIterator

      public FlattenIterator(Iterable<? extends Map<?,? extends T>> core)
  • Method Details

    • remove

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

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

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