java.lang.Object
org.elasticsearch.common.util.iterable.Iterables
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Iterable<T>
Flattens the two levelIterable
into a singleIterable
.static <T> T
static <T> int
static long
-
Constructor Details
-
Iterables
public Iterables()
-
-
Method Details
-
flatten
Flattens the two levelIterable
into a singleIterable
. Note that this pre-caches the values from the outerIterable
, but not the values from the inner one. -
get
-
indexOf
-
size
-