public final class ArrayUtils extends Object
| Modifier and Type | Method and Description | 
|---|---|
static <T> boolean | 
contains(T[] array,
        T item)  | 
static <T> void | 
copyWithoutNulls(T[] src,
                T[] dst)
Copy src array into destination and skip null values. 
 | 
static <T> T[] | 
createCopy(T[] src)
Create copy of the src array. 
 | 
static <T> T | 
getItemAtPositionOrNull(T[] array,
                       int position)  | 
public static <T> T[] createCopy(T[] src)
T - src - public static <T> void copyWithoutNulls(T[] src,
                        T[] dst)
src.length - getNoOfNullItems(src)T - src - source arraydst - destination. It has to have the right capacitypublic static <T> boolean contains(T[] array,
                   T item)
public static <T> T getItemAtPositionOrNull(T[] array,
                            int position)
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.