public class ListUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> List<T> |
mergeNullableLists(List<T>... lists)
Combines the lists passed into a new list, excluding any null lists given.
|
@SafeVarargs public static <T> List<T> mergeNullableLists(List<T>... lists)
@SafeVarargs because the elements of the lists handled generically
and the input/output types match.T - element type of the listlists - one or more lists to combineCopyright © 2018–2021. All rights reserved.