public class CompatTools extends Object
Constructor and Description |
---|
CompatTools() |
Modifier and Type | Method and Description |
---|---|
static boolean |
arrayContains(int[] array,
int value)
Check if array contains given value
|
static byte[] |
arrayCopy(byte[] source,
int newLength)
Create copy of byte array
|
static long[] |
arrayCopy(long[] source,
int newLength)
Create copy of long array
|
public static byte[] arrayCopy(byte[] source, int newLength)
source
- newLength
- public static long[] arrayCopy(long[] source, int newLength)
source
- newLength
- public static boolean arrayContains(int[] array, int value)
array
- value
- Copyright © 2015. All rights reserved.