public class ArrayUtil
Modifiers | Name | Description |
---|---|---|
interface |
ArrayUtil.ArrayFilter |
Type Params | Return Type | Name and description |
---|---|---|
<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) |