public class CompoundList extends Object
Modifier and Type | Method and Description |
---|---|
static <S> List<S> |
of(List<? extends S>... lists)
Creates a list of an array of lists.
|
static <S> List<S> |
of(List<? extends S> left,
List<? extends S> right)
Creates a list of a left and right list.
|
static <S> List<S> |
of(List<? extends S> left,
S right)
Creates a list of a list and an element.
|
static <S> List<S> |
of(S left,
List<? extends S> right)
Creates a list of a single element and another list.
|
public static <S> List<S> of(S left, List<? extends S> right)
S
- The type of the list's elements.left
- The left element.right
- The right list.public static <S> List<S> of(List<? extends S> left, S right)
S
- The type of the list's elements.left
- The left left.right
- The right element.public static <S> List<S> of(List<? extends S> left, List<? extends S> right)
S
- The type of the list's elements.left
- The left list.right
- The right list.Copyright © 2014–2018. All rights reserved.