Class Iterators

java.lang.Object
org.elasticsearch.common.collect.Iterators

public class Iterators extends Object
  • Constructor Details

    • Iterators

      public Iterators()
  • Method Details

    • single

      public static <T> Iterator<T> single(T element)
      Returns a single element iterator over the supplied value.
    • concat

      public static <T> Iterator<T> concat(Iterator<? extends T>... iterators)