|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.util.collections.CollectionUtils
public final class CollectionUtils
Method Summary | ||
---|---|---|
static
|
array(T... elements)
Return an array of the given elements. |
|
static
|
list(T... elements)
Returns a List with the given elements. |
|
static
|
set(T... elements)
Returns a Set with the given elements. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <T> java.util.Set<T> set(T... elements)
List<String> hs = list("s1", "s2");
public static <T> java.util.List<T> list(T... elements)
public static <T> T[] array(T... elements)
Integer[] aryOfInts = array(1,2,3,4);
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |