public class CollectionHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T> java.util.Set<T> |
asSet(T... ts) |
static <T> java.util.Set<T> |
asTreeSet(T... ts) |
static <T> java.util.ArrayList<T> |
newArrayList() |
static <K,V> java.util.HashMap<K,V> |
newHashMap() |
static <T> java.util.HashSet<T> |
newHashSet() |
static <T> java.util.TreeSet<T> |
newTreeSet() |
public static <K,V> java.util.HashMap<K,V> newHashMap()
public static <T> java.util.HashSet<T> newHashSet()
public static <T> java.util.TreeSet<T> newTreeSet()
public static <T> java.util.ArrayList<T> newArrayList()
public static <T> java.util.Set<T> asSet(T... ts)
public static <T> java.util.Set<T> asTreeSet(T... ts)
Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved