Package org.nuxeo.ecm.platform.el
Class Functions
- java.lang.Object
-
- org.nuxeo.ecm.platform.el.Functions
-
public class Functions extends Object
Helper functions injected in theExpressionContextinstance.- Since:
- 11.2
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanarrayContains(Object[] arr, Object element)Returnstrueif the givenarrcontains the givenelement.static booleanarrayContainsAll(Object[] arr, Object... elements)Returnstrueif the givenarrcontains all the givenelements.static booleanarrayContainsAny(Object[] arr, Object... elements)Returnstrueif the givenarrcontains one of the givenelements.static booleanarrayContainsNone(Object[] arr, Object... elements)Returnstrueif the givenarrcontains none of the givenelements.
-
-
-
Method Detail
-
arrayContains
public static boolean arrayContains(Object[] arr, Object element)
Returnstrueif the givenarrcontains the givenelement.Always returns
falseif the givenarrisnull.
-
arrayContainsAll
public static boolean arrayContainsAll(Object[] arr, Object... elements)
Returnstrueif the givenarrcontains all the givenelements.Always returns
falseif the givenarrisnull.
-
arrayContainsAny
public static boolean arrayContainsAny(Object[] arr, Object... elements)
Returnstrueif the givenarrcontains one of the givenelements.Always returns
falseif the givenarrisnull.
-
arrayContainsNone
public static boolean arrayContainsNone(Object[] arr, Object... elements)
Returnstrueif the givenarrcontains none of the givenelements.Always returns
falseif the givenarrisnull.
-
-