public final class Iterables
extends java.lang.Object
Iterable.| Modifier and Type | Method and Description |
|---|---|
static <T> boolean |
addAll(java.util.Collection<T> target,
java.lang.Iterable<? extends T> iterable)
Add all elements in the iterable to the collection.
|
static <T> java.lang.Iterable<T> |
concat(java.lang.Iterable<? extends java.lang.Iterable<? extends T>> iterables)
Combine the iterables into a single one.
|
static <T> java.util.Iterator<java.util.Iterator<? extends T>> |
iterators(java.lang.Iterable<? extends java.lang.Iterable<? extends T>> iterables) |
public static <T> boolean addAll(java.util.Collection<T> target,
java.lang.Iterable<? extends T> iterable)
target - iterable - public static <T> java.lang.Iterable<T> concat(java.lang.Iterable<? extends java.lang.Iterable<? extends T>> iterables)
iterables - public static <T> java.util.Iterator<java.util.Iterator<? extends T>> iterators(java.lang.Iterable<? extends java.lang.Iterable<? extends T>> iterables)
iterables - Copyright © 2015. All Rights Reserved.