Package org.godot.utilities.utils
Class ListUtils
- java.lang.Object
-
- org.godot.utilities.utils.ListUtils
-
public final class ListUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> @NotNull List<T>of(T... elements)Generate list from arguments
-
-
-
Method Detail
-
of
@Contract("_ -> new") @SafeVarargs @NotNull public static <T> @NotNull List<T> of(T... elements)
Generate list from arguments- Type Parameters:
T- Generic list type- Parameters:
elements- All initial elements- Returns:
- Returns an instance of list with all data
-
-