public static class CollectionUtils.List extends Object
| Constructor and Description |
|---|
List() |
| Modifier and Type | Method and Description |
|---|---|
static <T> List<T> |
of(T... elements)
Returns a ordered list containing the provided elements
|
@SafeVarargs public static <T> List<T> of(T... elements)
T - the type of the elementselements - the elements to add to the listCopyright © 2021. All rights reserved.