java.util.Arrays
This class contains various methods for manipulating arrays (such as sorting and searching).
This class is a member of the Java Collections Framework.
Some of the Methods of Arrays
Arrays.equals(byte[], int, int, byte[], int, int): This method returns true if the two specified arrays of bytes, over the specified ranges, are equal to one another.
Arrays.equals(char[], char[]): This method returns true if the two specified arrays of chars are equal to one another.
Arrays.equals(char[], int, int a, char[], int, int): This method returns true if the two specified arrays of chars, over the specified ranges, are equal to one another.
Arrays.equals(double[], double[]): This method returns true if the two specified arrays of doubles are equal to one another.
Arrays.equals(double[], int, int, double[], int, int): This method returns true if the two specified arrays of doubles, over the specified ranges, are equal to one another.
Arrays.equals(float[], float[]): This method returns true if the two specified arrays of floats are equal to one another.
Arrays.equals(float[], int, int a, float[], int, int): This method returns true if the two specified arrays of floats, over the specified ranges, are equal to one another.
Arrays.equals(int[], int[]): This method returns true if the two specified arrays of ints are equal to one another.
Arrays.equals(int[], int, int, int[], int, int): This method returns true if the two specified arrays of ints, over the specified ranges, are equal to one another.
Arrays.equals(long[], long[]): This method returns true if the two specified arrays of longs are equal to one another.
Arrays.equals(long[], int, int, long[], int, int): This method returns true if the two specified arrays of longs, over the specified ranges, are equal to one another.
Arrays.equals(Object[], Object[]): This method returns true if the two specified arrays of Objects are equal to one another.
Arrays.equals(Object[], int, int, Object[], int, int): This method returns true if the two specified arrays of Objects, over the specified ranges, are equal to one another.
Arrays.equals(short[], short[]): This method returns true if the two specified arrays of shorts are equal to one another.
Arrays.equals(short[], int, int, short[], int, int): This method returns true if the two specified arrays of shorts, over the specified ranges, are equal to one another.
Arrays.fill(boolean[], boolean): This method assigns the specified boolean value to each element of the specified array of booleans.
Arrays.fill(boolean[], int, int, boolean): This method assigns the specified boolean value to each element of the specified range of the specified array of booleans.
Arrays.fill(byte[], byte): This method assigns the specified byte value to each element of the specified array of bytes.
Arrays.fill(byte[], int, int, byte): This method assigns the specified byte value to each element of the specified range of the specified array of bytes.
Arrays.fill(char[], char): This method assigns the specified char value to each element of the specified array of chars.
Some more Methods of Arrays class Part -I
Some more Methods of Arrays class Part -II
Some more Methods of Arrays class Part -III
Some more Methods of Arrays class Part -V
Some more Methods of Arrays class Part -VI
Some more Methods of Arrays class Part -VII
Some more Methods of Arrays class Part -VIII
Some more Methods of Arrays class Part -IX
No comments:
Post a Comment