public class Literal
extends java.lang.Object
Constructor and Description |
---|
Literal() |
Modifier and Type | Method and Description |
---|---|
static boolean[] |
array(boolean... elements)
Returns an array containing all the elements supplied.
|
static byte[] |
array(byte... elements)
Returns an array containing all the elements supplied.
|
static char[] |
array(char... elements)
Returns an array containing all the elements supplied.
|
static double[] |
array(double... elements)
Returns an array containing all the elements supplied.
|
static float[] |
array(float... elements)
Returns an array containing all the elements supplied.
|
static int[] |
array(int... elements)
Returns an array containing all the elements supplied.
|
static long[] |
array(long... elements)
Returns an array containing all the elements supplied.
|
static short[] |
array(short... elements)
Returns an array containing all the elements supplied.
|
static <T> T[] |
array(T... elements)
Returns an array containing all the elements supplied.
|
static <T> java.util.List<T> |
list(T... elements)
Returns a new List instance containing the supplied elements.
|
static <T> java.util.Set<T> |
set(T... elements)
Returns a new Set instance containing the supplied elements.
|
static <T extends java.lang.Comparable<?>> |
sortedSet(T... elements)
Returns a new SortedSet instance containing the supplied elements.
|
public static <T> T[] array(T... elements)
public static boolean[] array(boolean... elements)
public static byte[] array(byte... elements)
public static char[] array(char... elements)
public static short[] array(short... elements)
public static int[] array(int... elements)
public static long[] array(long... elements)
public static float[] array(float... elements)
public static double[] array(double... elements)
public static <T> java.util.List<T> list(T... elements)
public static <T> java.util.Set<T> set(T... elements)
public static <T extends java.lang.Comparable<?>> java.util.SortedSet<T> sortedSet(T... elements)
? Copyright 2005-2006, Stripes Development Team.