| Constructor and Description |
|---|
ManArrayExt() |
| Modifier and Type | Method and Description |
|---|---|
static int |
binarySearch(Object array,
int from,
int to,
Object key) |
static int |
binarySearch(Object array,
int from,
int to,
Object key,
Comparator<? super Object> comparator) |
static int |
binarySearch(Object array,
Object key) |
static int |
binarySearch(Object array,
Object key,
Comparator<? super Object> comparator) |
static Object |
copy(Object array) |
static Object |
copy(Object array,
int newLength) |
static Object |
copyRange(Object array,
int from,
int to) |
static Object |
copyRangeTo(Object array,
int from,
int to,
Object target,
int targetIndex) |
static Object |
copyTo(Object array,
Object to) |
static boolean |
equals(Object array,
Object that) |
static void |
forEach(Object array,
IndexedConsumer<? super Object> action) |
static int |
hashCode(Object array) |
static boolean |
isEmpty(Object array) |
static boolean |
isNullOrEmpty(Object array) |
static Spliterator<Object> |
spliterator(Object array) |
static java.util.stream.Stream<Object> |
stream(Object array) |
static List<Object> |
toList(Object array)
Returns a fixed-size list backed by the specified array.
|
public static List<Object> toList(Object array)
Collection.toArray(). The returned list is
serializable and implements RandomAccess.public static boolean isEmpty(Object array)
public static boolean isNullOrEmpty(Object array)
public static Object copyRangeTo(Object array, int from, int to, Object target, int targetIndex)
public static java.util.stream.Stream<Object> stream(Object array)
public static void forEach(Object array, IndexedConsumer<? super Object> action)
public static Spliterator<Object> spliterator(Object array)
public static int binarySearch(Object array, Object key, Comparator<? super Object> comparator)
public static int binarySearch(Object array, int from, int to, Object key, Comparator<? super Object> comparator)
public static int hashCode(Object array)
Copyright © 2021. All rights reserved.