@Deprecated public final class CollectionUtils extends Object
Modifier and Type | Method and Description |
---|---|
static <T> T[] |
array(T... elements)
Deprecated.
|
static <T> List<T> |
list(T... elements)
Deprecated.
|
static <T> Set<T> |
set(T... elements)
Deprecated.
|
@Deprecated public static <T> Set<T> set(T... elements)
List<String> hs = list("s1", "s2");
@Deprecated public static <T> List<T> list(T... elements)
@Deprecated public static <T> T[] array(T... elements)
Integer[] aryOfInts = array(1,2,3,4);
Copyright © 2003–2015 Atlassian. All rights reserved.