public abstract class Composite extends Object
Constructor and Description |
---|
Composite() |
Modifier and Type | Method and Description |
---|---|
static <T> Iterable<T> |
of(Iterable<? extends T>... iterables)
Creates a composite iterable, inferring the element type from the
arguments.
|
static <T> Iterator<T> |
of(Iterator<? extends T>... iterators)
Creates a composite list, inferring the element type from the arguments.
|
static <T> List<T> |
of(List<? extends T>... lists)
Creates a composite list, inferring the element type from the arguments.
|
public static <T> List<T> of(List<? extends T>... lists)
T
- element typelists
- One or more listspublic static <T> Iterable<T> of(Iterable<? extends T>... iterables)
T
- element typeiterables
- One or more iterablesCopyright © 2020 Hitachi Vantara. All rights reserved.