Modifier and Type | Method and Description |
---|---|
static <K,V,G extends Iterable<K>> |
flatMap(Iterable<G> itemGroups,
java.util.function.Function<K,V> mapper)
|
static <E> java.util.stream.Stream<E> |
toStream(Iterable<E> iterable)
|
public static <E> java.util.stream.Stream<E> toStream(Iterable<E> iterable)
E
- type of the elements of the iterableiterable
- to convert to a streamIterable
@Internal public static <K,V,G extends Iterable<K>> Iterable<V> flatMap(Iterable<G> itemGroups, java.util.function.Function<K,V> mapper)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.