public abstract class ArrayUtilities
extends java.lang.Object
| Constructor and Description |
|---|
ArrayUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static float[][] |
clone(float[][] array)
Clones a two dimensional array of floats.
|
static boolean |
equal(float[][] array1,
float[][] array2)
Tests two float arrays for equality.
|
static boolean |
hasDuplicateItems(java.lang.Object[] array)
Returns
true if any two items in the array are equal to one another. |
public static float[][] clone(float[][] array)
array - the array.public static boolean equal(float[][] array1,
float[][] array2)
array1 - the first array (null permitted).array2 - the second arrray (null permitted).public static boolean hasDuplicateItems(java.lang.Object[] array)
true if any two items in the array are equal to one another.
Any null values in the array are ignored.array - the array to check.