public class CollectionUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static char[] |
EMPTY_CHAR_ARRAY |
| Constructor and Description |
|---|
CollectionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> List<T> |
newList(T... elements)
Create
ArrayList with some elements contained. |
static char[] |
subarray(char[] array,
int startIndex,
int endIndex)
Create subarray of char array.
|
public static char[] subarray(char[] array,
int startIndex,
int endIndex)
array - input arraystartIndex - start index (inclusive)endIndex - end index (exclusive)@SafeVarargs public static <T> List<T> newList(T... elements)
ArrayList with some elements contained.T - type of list elementselements - elements to be contained in the list.Copyright © 2015 illucIT Software GmbH. All rights reserved.