Class Collections
java.lang.Object
edu.tufts.hrilab.action.operators.Collections
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> void
static <T> boolean
static <T> boolean
static <T> boolean
static void
clear
(Collection collection) Collection operatorsstatic boolean
static boolean
static boolean
containsKey
(Map map, Object key) static boolean
containsValue
(Map map, Object value) static <T> T
static <K,
V> V static boolean
isEmpty
(Collection collection) static <K> Set<K>
static <T> List<T>
newArrayList
(Class<T> cls) List operatorsstatic <K,
V> Map<K, V> newHashMap
(Class<K> key, Class<V> value) Map operatorsstatic <T> Set<T>
newHashSet
(Class<T> cls) Set operatorsstatic <K,
V> V static <T> T
static <T> boolean
static <K,
V> V static <T> boolean
static <T> T
static int
size
(Collection collection) static <T> List<T>
-
Constructor Details
-
Collections
public Collections()
-
-
Method Details
-
clear
Collection operators -
isEmpty
-
size
-
newArrayList
List operators -
add
-
add
-
addAll
-
contains
-
get
-
remove
-
remove
-
set
-
subList
-
newHashSet
Set operators -
add
-
contains
-
remove
-
newHashMap
Map operators -
containsKey
-
containsValue
-
entrySet
-
get
-
keySet
-
put
-
remove
-