Class OArrays
java.lang.Object
com.orientechnologies.common.util.OArrays
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancontains(int[] iArray, int iToFind) Returns true if an arrays contains a value, otherwise falsestatic <T> booleancontains(T[] iArray, T iToFind) Returns true if an arrays contains a value, otherwise falsestatic int[]copyOf(int[] iSource, int iNewSize) static <T> T[]copyOf(T[] iSource, int iNewSize) static <T,U> T[] static byte[]copyOfRange(byte[] iSource, int iBegin, int iEnd) static <S> S[]copyOfRange(S[] iSource, int iBegin, int iEnd) static <D,S> D[] copyOfRange(S[] iSource, int iBegin, int iEnd, Class<? extends D[]> iClass) static int
-
Constructor Details
-
OArrays
public OArrays()
-
-
Method Details
-
copyOf
public static <T> T[] copyOf(T[] iSource, int iNewSize) -
copyOf
-
copyOfRange
public static <S> S[] copyOfRange(S[] iSource, int iBegin, int iEnd) -
copyOfRange
public static <D,S> D[] copyOfRange(S[] iSource, int iBegin, int iEnd, Class<? extends D[]> iClass) -
copyOfRange
public static byte[] copyOfRange(byte[] iSource, int iBegin, int iEnd) -
copyOf
public static int[] copyOf(int[] iSource, int iNewSize) -
contains
public static boolean contains(int[] iArray, int iToFind) Returns true if an arrays contains a value, otherwise false -
contains
public static <T> boolean contains(T[] iArray, T iToFind) Returns true if an arrays contains a value, otherwise false -
hash
-