public class CollectionUtil extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isEmpty(Collection collection) |
static boolean |
isNotEmpty(Collection collection) |
static Map<String,Object> |
map(Object... objects)
Helper method to easily create a map.
|
static Map<String,Object> |
singletonMap(String key,
Object value)
Helper method that creates a singleton map.
|
public static Map<String,Object> singletonMap(String key, Object value)
public static Map<String,Object> map(Object... objects)
public static boolean isEmpty(Collection collection)
public static boolean isNotEmpty(Collection collection)
Copyright © 2015 Alfresco. All rights reserved.