public class Shrt
extends java.lang.Object
Constructor and Description |
---|
Shrt() |
Modifier and Type | Method and Description |
---|---|
static short[] |
add(short[] array,
short v) |
static short[] |
add(short[] array,
short[] array2) |
static short[] |
array(short... array) |
static short[] |
arrayOfShort(int size)
Creates an array of bytes
|
static short[] |
compact(short[] array) |
static short[] |
copy(short[] array) |
static short[] |
grow(short[] array) |
static short[] |
grow(short[] array,
int size) |
static short |
idx(short[] array,
int index) |
static void |
idx(short[] array,
int index,
short value) |
static boolean |
in(short value,
short[] array) |
static short[] |
insert(short[] array,
int idx,
short v) |
static short[] |
insert(short[] array,
int fromIndex,
short[] values) |
static int |
len(short[] array) |
static short[] |
shrink(short[] array,
int size) |
static short[] |
slc(short[] array,
int startIndex) |
static short[] |
slc(short[] array,
int startIndex,
int endIndex) |
static short[] |
slcEnd(short[] array,
int endIndex) |
public static short[] grow(short[] array, int size)
public static short[] grow(short[] array)
public static short[] shrink(short[] array, int size)
public static short[] compact(short[] array)
public static short[] arrayOfShort(int size)
size
- size of the array you want to makepublic static short[] array(short... array)
array
- public static int len(short[] array)
public static short idx(short[] array, int index)
public static void idx(short[] array, int index, short value)
public static short[] slc(short[] array, int startIndex, int endIndex)
public static short[] slc(short[] array, int startIndex)
public static short[] slcEnd(short[] array, int endIndex)
public static boolean in(short value, short[] array)
public static short[] copy(short[] array)
public static short[] add(short[] array, short v)
public static short[] add(short[] array, short[] array2)
public static short[] insert(short[] array, int idx, short v)
public static short[] insert(short[] array, int fromIndex, short[] values)