|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.di.core.util.CollectionPredicates
public final class CollectionPredicates
Field Summary | |
---|---|
static org.apache.commons.collections.Predicate |
EMPTY_ARRAY
Empty array. |
static org.apache.commons.collections.Predicate |
EMPTY_COLLECTION
Empty collection. |
static org.apache.commons.collections.Predicate |
EMPTY_MAP
Empty map. |
static org.apache.commons.collections.Predicate |
NOT_EMPTY_ARRAY
Not empty array. |
static org.apache.commons.collections.Predicate |
NOT_EMPTY_COLLECTION
Not empty collection. |
static org.apache.commons.collections.Predicate |
NOT_EMPTY_MAP
Not empty map. |
static org.apache.commons.collections.Predicate |
NOT_NULL_OR_EMPTY_ARRAY
Not null or empty array. |
static org.apache.commons.collections.Predicate |
NOT_NULL_OR_EMPTY_COLLECTION
Not null or empty collection. |
static org.apache.commons.collections.Predicate |
NOT_NULL_OR_EMPTY_MAP
Not null or empty map. |
static org.apache.commons.collections.Predicate |
NULL_OR_EMPTY_ARRAY
Null or empty array. |
static org.apache.commons.collections.Predicate |
NULL_OR_EMPTY_COLLECTION
Null or empty collection. |
static org.apache.commons.collections.Predicate |
NULL_OR_EMPTY_MAP
Null or empty map. |
Method Summary | |
---|---|
static boolean |
isNotNullOrEmpty(Collection<?> subject)
|
static boolean |
isNotNullOrEmpty(Map<?,?> subject)
|
static boolean |
isNotNullOrEmpty(Object[] subject)
|
static boolean |
isNullOrEmpty(Collection<?> subject)
|
static boolean |
isNullOrEmpty(Map<?,?> subject)
|
static boolean |
isNullOrEmpty(Object[] subject)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.apache.commons.collections.Predicate EMPTY_COLLECTION
public static final org.apache.commons.collections.Predicate NOT_EMPTY_COLLECTION
public static final org.apache.commons.collections.Predicate EMPTY_ARRAY
public static final org.apache.commons.collections.Predicate NOT_EMPTY_ARRAY
public static final org.apache.commons.collections.Predicate EMPTY_MAP
public static final org.apache.commons.collections.Predicate NOT_EMPTY_MAP
public static final org.apache.commons.collections.Predicate NOT_NULL_OR_EMPTY_COLLECTION
public static final org.apache.commons.collections.Predicate NOT_NULL_OR_EMPTY_ARRAY
public static final org.apache.commons.collections.Predicate NOT_NULL_OR_EMPTY_MAP
public static final org.apache.commons.collections.Predicate NULL_OR_EMPTY_COLLECTION
public static final org.apache.commons.collections.Predicate NULL_OR_EMPTY_ARRAY
public static final org.apache.commons.collections.Predicate NULL_OR_EMPTY_MAP
Method Detail |
---|
public static boolean isNullOrEmpty(Collection<?> subject)
subject
- the subject.
public static boolean isNotNullOrEmpty(Collection<?> subject)
subject
- the subject.
public static boolean isNullOrEmpty(Object[] subject)
subject
- the subject.
public static boolean isNotNullOrEmpty(Object[] subject)
subject
- the subject.
public static boolean isNullOrEmpty(Map<?,?> subject)
subject
- the subject.
public static boolean isNotNullOrEmpty(Map<?,?> subject)
subject
- the subject.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |