public class ArrayUtil
Modifiers | Name | Description |
---|---|---|
interface |
ArrayUtil.ArrayFilter |
Type Params | Return Type | Name and description |
---|---|---|
<Type> |
public static Type[] |
concat(Type[] array, Type items) |
<T> |
public static T |
find(T[] list, ArrayFilter<T> filter) |
<T> |
public static int |
findIndex(T[] list, Object targetItem) |
<T> |
public static int |
findIndex(T[] list, ArrayFilter<T> filter) |
<T> |
public static T |
getAnyNotNull(T list) |
<T> |
public static T |
getFirst(List<T> list) |
<T> |
public static Map<T, T> |
toMap(T array) |
<Type> |
public static List<Type> |
toMutableList(Type items) |