All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.util.Arrays Maven / Gradle / Ivy

The newest version!
package java.util;

public class Arrays {
    public static List asList(Object[] a) {
        return null;
    }

    public static int binarySearch(long[] a, long key) {
        return 0;
    }

    public static int binarySearch(int[] a, int key) {
        return 0;
    }

    public static int binarySearch(short[] a, short key) {
        return 0;
    }

    public static int binarySearch(char[] a, char key) {
        return 0;
    }

    public static int binarySearch(byte[] a, byte key) {
        return 0;
    }

    public static int binarySearch(double[] a, double key) {
        return 0;
    }

    public static int binarySearch(float[] a, float key) {
        return 0;
    }

    /**
     * @throws ClassCastException
     */
    public static int binarySearch(Object[] a, Object key) {
        return 0;
    }

    /**
     * @throws ClassCastException
     */
    public static int binarySearch(Object[] a, Object key, Comparator c) {
        return 0;
    }

    public static boolean equals(long[] a, long[] a2) {
        return false;
    }

    public static boolean equals(int[] a, int[] a2) {
        return false;
    }

    public static boolean equals(short[] a, short[] a2) {
        return false;
    }

    public static boolean equals(char[] a, char[] a2) {
        return false;
    }

    public static boolean equals(byte[] a, byte[] a2) {
        return false;
    }

    public static boolean equals(boolean[] a, boolean[] a2) {
        return false;
    }

    public static boolean equals(double[] a, double[] a2) {
        return false;
    }

    public static boolean equals(float[] a, float[] a2) {
        return false;
    }

    public static boolean equals(Object[] a, Object[] a2) {
        return false;
    }

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

    /**
     * @throws IllegalArgumentException
     * @throws ArrayIndexOutOfBoundsException
     */
    public static void fill(long[] a, int fromIndex, int toIndex, long val) {}

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

    /**
     * @throws IllegalArgumentException
     * @throws ArrayIndexOutOfBoundsException
     */
    public static void fill(int[] a, int fromIndex, int toIndex, int val) {}

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

    /**
     * @throws IllegalArgumentException
     * @throws ArrayIndexOutOfBoundsException
     */
    public static void fill(short[] a, int fromIndex, int toIndex, short val) {}

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

    /**
     * @throws IllegalArgumentException
     * @throws ArrayIndexOutOfBoundsException
     */
    public static void fill(char[] a, int fromIndex, int toIndex, char val) {}

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

    /**
     * @throws IllegalArgumentException
     * @throws ArrayIndexOutOfBoundsException
     */
    public static void fill(byte[] a, int fromIndex, int toIndex, byte val) {}

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

    /**
     * @throws IllegalArgumentException
     * @throws ArrayIndexOutOfBoundsException
     */
    public static void fill(boolean[] a, int fromIndex, int toIndex, boolean val) {}

    public static void fill(double[] a, double val) {}
    
    /**
     * @throws IllegalArgumentException
     * @throws ArrayIndexOutOfBoundsException
     */
    public static void fill(double[] a, int fromIndex, int toIndex, double val) {}

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

    /**
     * @throws IllegalArgumentException
     * @throws ArrayIndexOutOfBoundsException
     */
    public static void fill(float[] a, int fromIndex, int toIndex, float val) {}

    public static void fill(Object[] a, Object val) {}

    /**
     * @throws IllegalArgumentException
     * @throws ArrayIndexOutOfBoundsException
     */
    public static void fill(Object[] a, int fromIndex, int toIndex, Object val) {}

    public static void sort(long[] a) {}

    /**
     * @throws IllegalArgumentException
     * @throws ArrayIndexOutOfBoundsException
     */
    public static void sort(long[] a, int fromIndex, int toIndex) {}

    public static void sort(int[] a) {}

    /**
     * @throws IllegalArgumentException
     * @throws ArrayIndexOutOfBoundsException
     */
    public static void sort(int[] a, int fromIndex, int toIndex) {}

    public static void sort(short[] a) {}

    /**
     * @throws IllegalArgumentException
     * @throws ArrayIndexOutOfBoundsException
     */
    public static void sort(short[] a, int fromIndex, int toIndex) {}

    public static void sort(char[] a) {}

    /**
     * @throws IllegalArgumentException
     * @throws ArrayIndexOutOfBoundsException
     */
    public static void sort(char[] a, int fromIndex, int toIndex) {}

    public static void sort(byte[] a) {}

    /**
     * @throws IllegalArgumentException
     * @throws ArrayIndexOutOfBoundsException
     */
    public static void sort(byte[] a, int fromIndex, int toIndex) {}

    public static void sort(double[] a) {}

    /**
     * @throws IllegalArgumentException
     * @throws ArrayIndexOutOfBoundsException
     */
    public static void sort(double[] a, int fromIndex, int toIndex) {}

    public static void sort(float[] a) {}

    /**
     * @throws IllegalArgumentException
     * @throws ArrayIndexOutOfBoundsException
     */
    public static void sort(float[] a, int fromIndex, int toIndex) {}

    /**
     * @throws ClassCastException
     */
    public static void sort(Object[] a) {}

    /**
     * @throws IllegalArgumentException
     * @throws ArrayIndexOutOfBoundsException
     * @throws ClassCastException
     */
    public static void sort(Object[] a, int fromIndex, int toIndex) {}

    /**
     * @throws ClassCastException
     */
    public static void sort(Object[] a, Comparator c) {}

    /**
     * @throws IllegalArgumentException
     * @throws ArrayIndexOutOfBoundsException
     * @throws ClassCastException
     */
    public static void sort(Object[] a, int fromIndex, int toIndex, Comparator c) {}


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy