public class Collections extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> Set<T> |
asSet(Collection<T> collection,
Collection<T>... elements) |
static <T> Set<T> |
asSet(Collection<T> collection,
T... elements) |
static <T> Set<T> |
asSet(T... elements) |
static <T> List<T> |
newArrayList(T... elements) |
public static <T> Set<T> asSet(T... elements)
public static <T> List<T> newArrayList(T... elements)
public static <T> Set<T> asSet(Collection<T> collection, T... elements)
public static <T> Set<T> asSet(Collection<T> collection, Collection<T>... elements)
Copyright © 2012-2014. All Rights Reserved.