public class Arrays
extends java.lang.Object
| Constructor and Description |
|---|
Arrays () |
| Modifier and Type | Method and Description |
|---|---|
static Array<java.lang.Integer> |
asIntArrayOrNull (java.lang.Object obj) |
static <E> void |
copy (Array<E> dst,
Array<E> src) |
static <E> void |
fill (Array<E> arr,
E value) |
static <E> SimpleVector<E> |
flattenCopy (Array<E> arr,
boolean writable) |
static int[] |
getDimensions (Array<?> arr) |
static int[] |
getLowBounds (Array<?> arr) |
static <E> E |
getRowMajor (Array<E> arr,
int index) |
static int |
hashCode (Array arr) |
static void |
incrementIndexes (int[] indexes,
Array<?> arr) |
static int |
rowMajorToEffectiveIndex (Array arr,
int index) |
static <E> GeneralArray<E> |
simpleCopy (Array<E> arr,
boolean writable) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic Arrays()
public static int rowMajorToEffectiveIndex(Array arr, int index)
public static <E> E getRowMajor(Array<E> arr, int index)
public static int hashCode(Array arr)
public static Array<java.lang.Integer> asIntArrayOrNull(java.lang.Object obj)
public static void incrementIndexes(int[] indexes, Array<?> arr)
public static int[] getDimensions(Array<?> arr)
public static int[] getLowBounds(Array<?> arr)
public static <E> void fill(Array<E> arr, E value)
public static <E> GeneralArray<E> simpleCopy(Array<E> arr, boolean writable)
public static <E> SimpleVector<E> flattenCopy(Array<E> arr, boolean writable)