public class CollectionUtil extends Object
| Constructor and Description |
|---|
CollectionUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
allOf(Object collection,
Object value)
all values of value must be in collection
|
static boolean |
anyOf(Object collection,
Object value)
one of the values of value must be in collection
|
static boolean |
contains(Object collection,
Object value)
Deprecated.
use @{link #allOf(Object, Object)} instead
|
static boolean |
containsAny(Object collection,
Object value)
Deprecated.
use @{link #anyof(Object, Object)} instead
|
protected static Collection |
getTargetCollection(Object collection,
Object value) |
static boolean |
noneOf(Object collection,
Object value)
none of the values of value must be in collection
|
static boolean |
notAllOf(Object collection,
Object value)
one of the values of value must not be in collection
|
static boolean |
notContains(Object collection,
Object value)
Deprecated.
use @{link #noneOf(Object, Object)} instead
|
static boolean |
notContainsAny(Object collection,
Object value)
Deprecated.
use
notAllOf(Object, Object) instead |
public static boolean allOf(Object collection, Object value)
true if all elements of value are within the collection,
false if at least one element of value is not within the collection@Deprecated public static boolean contains(Object collection, Object value)
public static boolean noneOf(Object collection, Object value)
true if all elements of value are not within the collection,
false if at least one element of value is within the collection@Deprecated public static boolean notContains(Object collection, Object value)
public static boolean anyOf(Object collection, Object value)
true if at least one element of value is within the collection,
false if all elements of value are not within the collection@Deprecated public static boolean containsAny(Object collection, Object value)
public static boolean notAllOf(Object collection, Object value)
true if a least one element of value is not within the collection,
false if all elements of value are within the collection@Deprecated public static boolean notContainsAny(Object collection, Object value)
notAllOf(Object, Object) insteadprotected static Collection getTargetCollection(Object collection, Object value)
Copyright © 2021 Flowable. All rights reserved.