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