Class Iterators

org.elasticsearch.common.collect.Iterators

public class Iterators extends
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T> <T>
    <? extends T>... iterators)
     
    static <T> <T>
    single​(T element)
    Returns a single element iterator over the supplied value.

    Methods inherited from class java.lang.

    , , , , , , , , , ,
  • Constructor Details

    • Iterators

      public Iterators()
  • Method Details

    • single

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

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