public final class CollectionUtils extends Object
Modifier and Type | Method and Description |
---|---|
static <T> List<T> |
add(List<T> list,
T element) |
static <T> Set<T> |
add(Set<T> set,
T element) |
static <T> Set<T> |
addSorted(Set<T> set,
T element) |
static <T> List<T> |
copyOf(List<T> list) |
static <K,V> Map<K,V> |
copyOf(Map<K,V> map) |
static <T> Set<T> |
copyOf(Set<T> set) |
static <T> Set<T> |
copyOfSorted(Set<T> set) |
static <K,V> Map<K,V> |
put(Map<K,V> map,
K key,
V value) |
static <T> Set<T> |
removeSorted(Set<T> set,
T element) |
Copyright © 2007–2015 Mysema Ltd. All rights reserved.