| Modifier and Type | Method and Description
|
|---|
| public static <E> Object | Returns: The lazylist created or added to. add(Object The list to add to or null if none yet created. list, E The item to add. item)Add an item to a LazyList
|
| public static Object | Returns: The lazylist created or added to. add(Object The list to add to or null if none yet created. list, int The index to add the item at. index, Object The item to add. item)Add an item to a LazyList
|
| public static Object | Returns: The lazylist created or added to. addArray(Object The list to add to or null if none yet created. list, Object[] The Collection whose contents should be added. array)Add the contents of an array to a LazyList
|
| public static Object | Returns: The lazylist created or added to. addCollection(Object The list to add to or null if none yet created. list, Collection<?> The Collection whose contents should be added. collection)Add the contents of a Collection to a LazyList
|
| public static Object[] | Returns: new array with contents of array plus item addToArray(Object[] The array to add to (or null) array, Object The item to add item, Class<?> The type of the array (in case of null array) type)Add element to an array
|
| public static <E> List<E> | Returns: A new modifiable list initialised with the elements from array. array2List(E[] Any array of object array)
|
| public static Object |
|
| public static boolean |
|
| public static Object | ensureSize(Object list, int initialSize)Ensure the capcity of the underlying list.
|
| public static <E> E | Returns: the item from the list. get(Object A LazyList returned from LazyList.add(Object) or null list, int int index i)Get item from the list
|
| public static <E> List<E> | Returns: The List of added items, which may be an EMPTY_LIST
or a SingletonList. getList(Object A LazyList returned from LazyList.add(Object) list)Get the real List from a LazyList.
|
| public static <E> List<E> | Returns: The List of added items, which may be null, an EMPTY_LIST
or a SingletonList. getList(Object A LazyList returned from LazyList.add(Object) or null list, boolean If true, null is returned instead of an
empty list. nullForEmpty)Get the real List from a LazyList.
|
| public static <E> Iterator<E> |
|
| public static <E> ListIterator<E> |
|
| public static Object |
|
| public static Object |
|
| public static Object |
|
| public static int | Returns: the size of the list. size(Object A LazyList returned from LazyList.add(Object) or null list)The size of a lazy List
|
| public static Object | toArray(Object The list to convert list, Class<?> The class of the array, which may be a primitive type aClass)Convert a lazylist to an array
|
| public static String |
|
| public static String[] |
|