public final class SimpleList
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T> java.util.List<T> |
of()
Of list.
|
static <T> java.util.List<T> |
of(T... objects)
Of list.
|
public static <T> java.util.List<T> of()
T
- the type parameter@SafeVarargs public static <T> java.util.List<T> of(T... objects)
T
- the type parameterobjects
- the objects