java.lang.Object
org.eclipse.milo.opcua.stack.core.util.Lists
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> List<T>ofNullable(@Nullable T... elements) Return an unmodifiable list containing the given elements.
-
Method Details
-
ofNullable
Return an unmodifiable list containing the given elements.This is a null-safe variation of
List.of().- Parameters:
elements- the elements to include in the list.- Returns:
- an unmodifiable list containing the given elements.
-
partition
-