public final class CollectionHelper extends Object
Modifier and Type | Method and Description |
---|---|
static <T> Set<T> |
asSet(T... ts) |
static <T> ArrayList<T> |
newArrayList() |
static <K,V> HashMap<K,V> |
newHashMap() |
static <T> HashSet<T> |
newHashSet() |
static <K,V> SortedMap<K,V> |
newSortedMap() |
static <T> List<T> |
toImmutableList(Collection<T> c) |
public static <K,V> HashMap<K,V> newHashMap()
public static <K,V> SortedMap<K,V> newSortedMap()
public static <T> HashSet<T> newHashSet()
public static <T> ArrayList<T> newArrayList()
public static <T> Set<T> asSet(T... ts)
public static <T> List<T> toImmutableList(Collection<T> c)
Copyright © 2006-2014 Red Hat, Inc. All Rights Reserved