Package org.elasticsearch.common.collect
Class Iterators
org.elasticsearch.common.collect.Iterators
public class Iterators
extends
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <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)
-