public abstract class IterableUtil extends Object
Modifier and Type | Method and Description |
---|---|
static <T> Iterable<T> |
concat(Iterable<? extends T>... iterables) |
static <T> Iterator<T> |
concat(Iterator<? extends T>... iterators) |
static <T> Iterator<T> |
emptyIterator() |
static <T> Iterable<T> |
unmodifiableIterable(Iterable<T> iterable) |
static <T> Iterator<T> |
unmodifiableIterator(Iterator<T> iterator) |
@SafeVarargs public static <T> Iterator<T> concat(Iterator<? extends T>... iterators)
@SafeVarargs public static <T> Iterable<T> concat(Iterable<? extends T>... iterables)
public static <T> Iterator<T> emptyIterator()
public static <T> Iterator<T> unmodifiableIterator(Iterator<T> iterator)
public static <T> Iterable<T> unmodifiableIterable(Iterable<T> iterable)
Copyright © 2015. All Rights Reserved.