public final class CollectionUtils extends Object
Modifier and Type | Method and Description |
---|---|
static <T> Collection<T> |
diff(Collection<T> c1,
Collection<T> c2) |
static <T> boolean |
isEmpty(Collection<T> c) |
static <K,V> boolean |
isEmpty(Map<K,V> m) |
static <S,T> Dictionary<S,T> |
singletonDictionary(S s,
T t) |
static <S,T> Dictionary<S,T> |
toDictionary(Map<S,T> map) |
public static <T> Collection<T> diff(Collection<T> c1, Collection<T> c2)
public static <T> boolean isEmpty(Collection<T> c)
public static <K,V> boolean isEmpty(Map<K,V> m)
public static <S,T> Dictionary<S,T> singletonDictionary(S s, T t)
public static <S,T> Dictionary<S,T> toDictionary(Map<S,T> map)
Copyright © 2021 JBoss by Red Hat. All rights reserved.