java > java.util > java.util.arrays >

Class: java.util.Arrays
    java.lang.Object
       java.util.Arrays


public class Arrays extends Object


FIELDS:

CONSTRUCTORS:

METHODS:
public static List asList(Object[] a)

public static int binarySearch(byte[] a, byte key)

public static int binarySearch(byte[] a, int fromIndex, int toIndex, byte key)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static int binarySearch(char[] a, char key)

public static int binarySearch(char[] a, int fromIndex, int toIndex, char key)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static int binarySearch(double[] a, double key)

public static int binarySearch(double[] a, int fromIndex, int toIndex, double key)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static int binarySearch(float[] a, float key)

public static int binarySearch(float[] a, int fromIndex, int toIndex, float key)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static int binarySearch(int[] a, int key)

public static int binarySearch(int[] a, int fromIndex, int toIndex, int key)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static int binarySearch(Object[] a, int fromIndex, int toIndex, Object key)
Throws: ClassCastException
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static int binarySearch(Object[] a, int fromIndex, int toIndex, Object key, Comparator c)
Throws: ClassCastException
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static int binarySearch(Object[] a, Object key)
Throws: ClassCastException

public static int binarySearch(Object[] a, Object key, Comparator c)
Throws: ClassCastException

public static int binarySearch(long[] a, int fromIndex, int toIndex, long key)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static int binarySearch(long[] a, long key)

public static int binarySearch(short[] a, int fromIndex, int toIndex, short key)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static int binarySearch(short[] a, short key)

public static boolean[] copyOf(boolean[] original, int newLength)
Throws: NegativeArraySizeException
Throws: NullPointerException

public static byte[] copyOf(byte[] original, int newLength)
Throws: NegativeArraySizeException
Throws: NullPointerException

public static char[] copyOf(char[] original, int newLength)
Throws: NegativeArraySizeException
Throws: NullPointerException

public static double[] copyOf(double[] original, int newLength)
Throws: NegativeArraySizeException
Throws: NullPointerException

public static float[] copyOf(float[] original, int newLength)
Throws: NegativeArraySizeException
Throws: NullPointerException

public static int[] copyOf(int[] original, int newLength)
Throws: NegativeArraySizeException
Throws: NullPointerException

public static Object[] copyOf(Object[] original, int newLength)
Throws: NegativeArraySizeException
Throws: NullPointerException

public static Object[] copyOf(Object[] original, int newLength, Class newType)
Throws: NegativeArraySizeException
Throws: NullPointerException
Throws: ArrayStoreException

public static long[] copyOf(long[] original, int newLength)
Throws: NegativeArraySizeException
Throws: NullPointerException

public static short[] copyOf(short[] original, int newLength)
Throws: NegativeArraySizeException
Throws: NullPointerException

public static boolean[] copyOfRange(boolean[] original, int from, int to)
Throws: ArrayIndexOutOfBoundsException
Throws: IllegalArgumentException
Throws: NullPointerException

public static byte[] copyOfRange(byte[] original, int from, int to)
Throws: ArrayIndexOutOfBoundsException
Throws: IllegalArgumentException
Throws: NullPointerException

public static char[] copyOfRange(char[] original, int from, int to)
Throws: ArrayIndexOutOfBoundsException
Throws: IllegalArgumentException
Throws: NullPointerException

public static double[] copyOfRange(double[] original, int from, int to)
Throws: ArrayIndexOutOfBoundsException
Throws: IllegalArgumentException
Throws: NullPointerException

public static float[] copyOfRange(float[] original, int from, int to)
Throws: ArrayIndexOutOfBoundsException
Throws: IllegalArgumentException
Throws: NullPointerException

public static int[] copyOfRange(int[] original, int from, int to)
Throws: ArrayIndexOutOfBoundsException
Throws: IllegalArgumentException
Throws: NullPointerException

public static Object[] copyOfRange(Object[] original, int from, int to)
Throws: ArrayIndexOutOfBoundsException
Throws: IllegalArgumentException
Throws: NullPointerException

public static Object[] copyOfRange(Object[] original, int from, int to, Class newType)
Throws: ArrayIndexOutOfBoundsException
Throws: IllegalArgumentException
Throws: NullPointerException
Throws: ArrayStoreException

public static long[] copyOfRange(long[] original, int from, int to)
Throws: ArrayIndexOutOfBoundsException
Throws: IllegalArgumentException
Throws: NullPointerException

public static short[] copyOfRange(short[] original, int from, int to)
Throws: ArrayIndexOutOfBoundsException
Throws: IllegalArgumentException
Throws: NullPointerException

public static boolean deepEquals(Object[] a1, Object[] a2)

public static int deepHashCode(Object[] a)

public static String deepToString(Object[] a)

public static boolean equals(boolean[] a, boolean[] a2)

public static boolean equals(byte[] a, byte[] a2)

public static boolean equals(char[] a, char[] a2)

public static boolean equals(double[] a, double[] a2)

public static boolean equals(float[] a, float[] a2)

public static boolean equals(int[] a, int[] a2)

public static boolean equals(Object[] a, Object[] a2)

public static boolean equals(long[] a, long[] a2)

public static boolean equals(short[] a, short[] a2)

public static void fill(boolean[] a, boolean val)

public static void fill(boolean[] a, int fromIndex, int toIndex, boolean val)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static void fill(byte[] a, byte val)

public static void fill(byte[] a, int fromIndex, int toIndex, byte val)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static void fill(char[] a, char val)

public static void fill(char[] a, int fromIndex, int toIndex, char val)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static void fill(double[] a, double val)

public static void fill(double[] a, int fromIndex, int toIndex, double val)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static void fill(float[] a, float val)

public static void fill(float[] a, int fromIndex, int toIndex, float val)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static void fill(int[] a, int val)

public static void fill(int[] a, int fromIndex, int toIndex, int val)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static void fill(Object[] a, int fromIndex, int toIndex, Object val)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException
Throws: ArrayStoreException

public static void fill(Object[] a, Object val)
Throws: ArrayStoreException

public static void fill(long[] a, int fromIndex, int toIndex, long val)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static void fill(long[] a, long val)

public static void fill(short[] a, int fromIndex, int toIndex, short val)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static void fill(short[] a, short val)

public static int hashCode(boolean[] a)

public static int hashCode(byte[] a)

public static int hashCode(char[] a)

public static int hashCode(double[] a)

public static int hashCode(float[] a)

public static int hashCode(int[] a)

public static int hashCode(Object[] a)

public static int hashCode(long[] a)

public static int hashCode(short[] a)

public static void sort(byte[] a)

public static void sort(byte[] a, int fromIndex, int toIndex)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static void sort(char[] a)

public static void sort(char[] a, int fromIndex, int toIndex)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static void sort(double[] a)

public static void sort(double[] a, int fromIndex, int toIndex)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static void sort(float[] a)

public static void sort(float[] a, int fromIndex, int toIndex)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static void sort(int[] a)

public static void sort(int[] a, int fromIndex, int toIndex)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static void sort(Object[] a)
Throws: ClassCastException

public static void sort(Object[] a, int fromIndex, int toIndex)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException
Throws: ClassCastException

public static void sort(Object[] a, int fromIndex, int toIndex, Comparator c)
Throws: ClassCastException
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static void sort(Object[] a, Comparator c)
Throws: ClassCastException

public static void sort(long[] a)

public static void sort(long[] a, int fromIndex, int toIndex)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static void sort(short[] a)

public static void sort(short[] a, int fromIndex, int toIndex)
Throws: IllegalArgumentException
Throws: ArrayIndexOutOfBoundsException

public static String toString(boolean[] a)

public static String toString(byte[] a)

public static String toString(char[] a)

public static String toString(double[] a)

public static String toString(float[] a)

public static String toString(int[] a)

public static String toString(Object[] a)

public static String toString(long[] a)

public static String toString(short[] a)


INHERITED METHODS:
getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(),

SUBCLASSES:





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net