improve javadocs
This commit is contained in:
parent
cf2af8961b
commit
53c2f8b4b6
|
@ -54,6 +54,8 @@ public class Iterables {
|
|||
}
|
||||
}
|
||||
|
||||
/** Flattens the two level {@code Iterable} into a single {@code Iterable}. Note that this uses the original input iterable so if it
|
||||
* later changes, the flattened result here will reflect the change. */
|
||||
public static <T> Iterable<T> flatten(Iterable<? extends Iterable<T>> inputs) {
|
||||
Objects.requireNonNull(inputs);
|
||||
return new FlattenedIterables<>(inputs);
|
||||
|
|
Loading…
Reference in New Issue