Package com.db4o.foundation
Class Arrays4
- java.lang.Object
-
- com.db4o.foundation.Arrays4
-
public class Arrays4 extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Arrays4()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Collection4
asList(java.lang.Object[] arr)
static boolean
containsInstanceOf(java.lang.Object[] array, java.lang.Class klass)
static int[]
copyOf(int[] src, int newLength)
static boolean
equals(byte[] x, byte[] y)
static boolean
equals(java.lang.Object[] x, java.lang.Object[] y)
static <T> void
fill(T[] array, T value)
static int
indexOf(int[] array, int element)
static int
indexOfEquals(java.lang.Object[] array, java.lang.Object expected)
static int
indexOfIdentity(java.lang.Object[] array, java.lang.Object element)
static java.lang.Object[]
merge(java.lang.Object[] a, java.lang.Object[] b, java.lang.Class arrayType)
static void
sort(java.lang.Object[] array, Comparison4 comparator)
static long[]
toLongArray(java.util.List<java.lang.Long> list)
static java.lang.String
toString(java.lang.Object[] array)
-
-
-
Method Detail
-
copyOf
public static int[] copyOf(int[] src, int newLength)
-
indexOfIdentity
public static int indexOfIdentity(java.lang.Object[] array, java.lang.Object element)
-
indexOfEquals
public static int indexOfEquals(java.lang.Object[] array, java.lang.Object expected)
-
indexOf
public static int indexOf(int[] array, int element)
-
equals
public static boolean equals(byte[] x, byte[] y)
-
equals
public static boolean equals(java.lang.Object[] x, java.lang.Object[] y)
-
containsInstanceOf
public static boolean containsInstanceOf(java.lang.Object[] array, java.lang.Class klass)
-
fill
public static <T> void fill(T[] array, T value)
-
asList
public static Collection4 asList(java.lang.Object[] arr)
-
merge
public static java.lang.Object[] merge(java.lang.Object[] a, java.lang.Object[] b, java.lang.Class arrayType)
-
sort
public static void sort(java.lang.Object[] array, Comparison4 comparator)
-
toLongArray
public static long[] toLongArray(java.util.List<java.lang.Long> list)
-
toString
public static java.lang.String toString(java.lang.Object[] array)
-
-