java.lang.Object
dev.metaschema.core.metapath.function.library.ArrayAppend
Implements the XPath 3.1 array:append
function.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends ICollectionValue>
IArrayItem<T>append(IArrayItem<T> array, T appendage) An implementation of XPath 3.1 array:append.
-
Method Details
-
append
@NonNull public static <T extends ICollectionValue> IArrayItem<T> append(@NonNull IArrayItem<T> array, @NonNull T appendage) An implementation of XPath 3.1 array:append.- Type Parameters:
T- the type of items in the given Metapath array- Parameters:
array- the target Metapath arrayappendage- the Metapath item to append to the identified array- Returns:
- a new array containing the modification
-