Package mondrian.util
Class Composite
java.lang.Object
mondrian.util.Composite
Composite collections.
- Author:
- jhyde
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Iterable<T>
Creates a composite iterable, inferring the element type from the arguments.static <T> Iterator<T>
Creates a composite list, inferring the element type from the arguments.static <T> List<T>
Creates a composite list, inferring the element type from the arguments.
-
Constructor Details
-
Composite
public Composite()
-
-
Method Details
-
of
Creates a composite list, inferring the element type from the arguments.- Type Parameters:
T
- element type- Parameters:
lists
- One or more lists- Returns:
- composite list
-
of
Creates a composite iterable, inferring the element type from the arguments.- Type Parameters:
T
- element type- Parameters:
iterables
- One or more iterables- Returns:
- composite iterable
-
of
Creates a composite list, inferring the element type from the arguments.- Type Parameters:
T
- element type- Parameters:
iterators
- One or more iterators- Returns:
- composite list
-