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