|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.compatibility.base.collection.Lists
public class Lists
List utility classes
| Field Summary | |
|---|---|
static String[] |
NO_STRING_VALUES
Deprecated. The method String values returns an empty list if source is null. |
| Constructor Summary | |
|---|---|
Lists()
Deprecated. |
|
| Method Summary | |
|---|---|
static List |
fromArray(Object source)
Deprecated. Returns a fixed-size list backed by the specified array. |
static String[] |
stringValues(boolean[] source)
Deprecated. Applys the String.valueOf() method to each of the array members. |
static String[] |
stringValues(byte[] source)
Deprecated. Applys the String.valueOf() method to each of the array members. |
static String[] |
stringValues(Collection source)
Deprecated. Applyies String.valueOf() to each of the collection's members. |
static String[] |
stringValues(double[] source)
Deprecated. Applys the String.valueOf() method to each of the array members. |
static String[] |
stringValues(float[] source)
Deprecated. Applys the String.valueOf() method to each of the array members. |
static String[] |
stringValues(int[] source)
Deprecated. Applys the String.valueOf() method to each of the array members. |
static String[] |
stringValues(long[] source)
Deprecated. Applys the String.valueOf() method to each of the array members. |
static String[] |
stringValues(Object source)
Deprecated. Applys the String.valueOf() method to each of the array or collections members. |
static String[] |
stringValues(Object[] source)
Deprecated. Applys the String.valueOf() method to each of the array members. |
static String[] |
stringValues(short[] source)
Deprecated. Applys the String.valueOf() method to each of the array members. |
static byte[][] |
toBinaryArray(List source)
Deprecated. Store a list's values in an array of byte arrays. |
static boolean[] |
toBooleanArray(List source)
Deprecated. Store a list's values in a boolean array. |
static Number[] |
toNumberArray(List source)
Deprecated. Store a list's values in a Number array. |
static String[] |
toStringArray(List source)
Deprecated. Store a list's values in a String array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String[] NO_STRING_VALUES
| Constructor Detail |
|---|
public Lists()
| Method Detail |
|---|
public static String[] toStringArray(List source)
ClassCastException - If any of the values is not an instance of Stringpublic static Number[] toNumberArray(List source)
ClassCastException - If any of the values is not an instance of Numberpublic static byte[][] toBinaryArray(List source)
ClassCastException - If any of the values is not an instance of byte[]public static boolean[] toBooleanArray(List source)
NullPointerException - if any of the values is null
ClassCastException - if any of the values is not an instance of Booleanpublic static String[] stringValues(byte[] source)
public static String[] stringValues(short[] source)
public static String[] stringValues(int[] source)
public static String[] stringValues(long[] source)
public static String[] stringValues(float[] source)
public static String[] stringValues(double[] source)
public static String[] stringValues(boolean[] source)
public static String[] stringValues(Collection source)
public static String[] stringValues(Object[] source)
public static String[] stringValues(Object source)
public static List fromArray(Object source)
source - the array by which the list will be backed.
ClassCastException - if array is not an instance of an array
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||