public final class CollectionUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T> java.util.List<T> |
add(java.util.List<T> list,
T element) |
static <T> java.util.Set<T> |
add(java.util.Set<T> set,
T element) |
static <T> java.util.Set<T> |
addSorted(java.util.Set<T> set,
T element) |
static <T> java.util.List<T> |
copyOf(java.util.List<T> list) |
static <K,V> java.util.Map<K,V> |
copyOf(java.util.Map<K,V> map) |
static <T> java.util.Set<T> |
copyOf(java.util.Set<T> set) |
static <T> java.util.Set<T> |
copyOfSorted(java.util.Set<T> set) |
static <K,V> java.util.Map<K,V> |
put(java.util.Map<K,V> map,
K key,
V value) |
public static <T> java.util.List<T> add(java.util.List<T> list, T element)
public static <T> java.util.List<T> copyOf(java.util.List<T> list)
public static <T> java.util.Set<T> add(java.util.Set<T> set, T element)
public static <T> java.util.Set<T> copyOf(java.util.Set<T> set)
public static <T> java.util.Set<T> addSorted(java.util.Set<T> set, T element)
public static <T> java.util.Set<T> copyOfSorted(java.util.Set<T> set)
public static <K,V> java.util.Map<K,V> put(java.util.Map<K,V> map, K key, V value)
public static <K,V> java.util.Map<K,V> copyOf(java.util.Map<K,V> map)
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.