Class CollectionUtil
- java.lang.Object
-
- org.flowable.dmn.engine.impl.el.util.CollectionUtil
-
public class CollectionUtil extends Object
- Author:
- Yvo Swillens
-
-
Constructor Summary
Constructors Constructor Description CollectionUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanallOf(Object collection, Object value)all values of value must be in collectionstatic booleananyOf(Object collection, Object value)one of the values of value must be in collectionstatic booleancontains(Object collection, Object value)Deprecated.use @{link #allOf(Object, Object)} insteadstatic booleancontainsAny(Object collection, Object value)Deprecated.use @{link #anyof(Object, Object)} insteadprotected static CollectiongetTargetCollection(Object collection, Object value)static booleannoneOf(Object collection, Object value)none of the values of value must be in collectionstatic booleannotAllOf(Object collection, Object value)one of the values of value must not be in collectionstatic booleannotContains(Object collection, Object value)Deprecated.use @{link #noneOf(Object, Object)} insteadstatic booleannotContainsAny(Object collection, Object value)Deprecated.usenotAllOf(Object, Object)instead
-
-
-
Method Detail
-
allOf
public static boolean allOf(Object collection, Object value)
all values of value must be in collection- Returns:
trueif all elements of value are within the collection,falseif at least one element of value is not within the collection
-
contains
@Deprecated public static boolean contains(Object collection, Object value)
Deprecated.use @{link #allOf(Object, Object)} instead
-
noneOf
public static boolean noneOf(Object collection, Object value)
none of the values of value must be in collection- Returns:
trueif all elements of value are not within the collection,falseif at least one element of value is within the collection
-
notContains
@Deprecated public static boolean notContains(Object collection, Object value)
Deprecated.use @{link #noneOf(Object, Object)} instead
-
anyOf
public static boolean anyOf(Object collection, Object value)
one of the values of value must be in collection- Returns:
trueif at least one element of value is within the collection,falseif all elements of value are not within the collection
-
containsAny
@Deprecated public static boolean containsAny(Object collection, Object value)
Deprecated.use @{link #anyof(Object, Object)} instead
-
notAllOf
public static boolean notAllOf(Object collection, Object value)
one of the values of value must not be in collection- Returns:
trueif a least one element of value is not within the collection,falseif all elements of value are within the collection
-
notContainsAny
@Deprecated public static boolean notContainsAny(Object collection, Object value)
Deprecated.usenotAllOf(Object, Object)instead
-
getTargetCollection
protected static Collection getTargetCollection(Object collection, Object value)
-
-