Package gnu.lists
Class Arrays
java.lang.Object
gnu.lists.Arrays
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasIntArrayOrNull
(Object obj) static <E> void
static <E> void
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
static void
incrementIndexes
(int[] indexes, Array<?> arr) static int
rowMajorToEffectiveIndex
(Array arr, int index) static <E> GeneralArray
<E> simpleCopy
(Array<E> arr, boolean writable)
-
Constructor Details
-
Arrays
public Arrays()
-
-
Method Details
-
rowMajorToEffectiveIndex
-
getRowMajor
-
hashCode
-
asIntArrayOrNull
-
incrementIndexes
-
getDimensions
-
getLowBounds
-
fill
-
copy
-
simpleCopy
-
flattenCopy
-