Arrays class Methods in Java Part -VI

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.hashCode(Object[])This method returns a hash code based on the contents of the specified array.


Arrays.hashCode(short[])This method returns a hash code based on the contents of the specified array.


Arrays.mismatch(boolean[], boolean[])This method finds and returns the index of the first mismatch between two boolean arrays, otherwise returns -1 if no mismatch is found.


Arrays.mismatch(boolean[], int, int, boolean[], int, int)This method finds and returns the relative index of the first mismatch between two boolean arrays over the specified ranges, otherwise return -1 if no mismatch is found.


Arrays.mismatch(byte[], byte[])This method finds and returns the index of the first mismatch between two-byte arrays, otherwise returns -1 if no mismatch is found.


Arrays.mismatch(byte[], int, int, byte[] , int, int)This method finds and returns the relative index of the first mismatch between two-byte arrays over the specified ranges, otherwise returns -1 if no mismatch is found.


Arrays.mismatch(char[], char[])This method finds and returns the index of the first mismatch between two char arrays, otherwise, return -1 if no mismatch is found.


Arrays.mismatch(char[], int, int, char[], int, int)This method finds and returns the relative index of the first mismatch between two char arrays over the specified ranges, otherwise returns -1 if no mismatch is found.


Arrays.mismatch(double[], double[])This method finds and returns the index of the first mismatch between two double arrays, otherwise, return -1 if no mismatch is found.


Arrays.mismatch(double[], int, int, double[], int, int)This method finds and returns the relative index of the first mismatch between two double arrays over the specified ranges, otherwise returns -1 if no mismatch is found.


Arrays.mismatch(float[], float[])This method finds and returns the index of the first mismatch between two float arrays, otherwise, return -1 if no mismatch is found.


Arrays.mismatch(float[], int, int, float[], int, int)This method finds and returns the relative index of the first mismatch between two float arrays over the specified ranges, otherwise returns -1 if no mismatch is found.


Arrays.mismatch(int[], int[])This method finds and returns the index of the first mismatch between two int arrays, otherwise, return -1 if no mismatch is found.


Arrays.mismatch(int[], int, int, int[], int, int)This method finds and returns the relative index of the first mismatch between two int arrays over the specified ranges, otherwise returns -1 if no mismatch is found.


Arrays.mismatch(long[], long[])This method finds and returns the index of the first mismatch between two long arrays, otherwise returns -1 if no mismatch is found.


Arrays.mismatch(long[], int, int, long[] , int, int)This method finds and returns the relative index of the first mismatch between two long arrays over the specified ranges, otherwise returns -1 if no mismatch is found.


Arrays.mismatch(Object[], Object[])This method finds and returns the index of the first mismatch between two Object arrays, otherwise returns -1 if no mismatch is found.


Arrays.mismatch(Object[], int, int, Object[], int, int)This method finds and returns the relative index of the first mismatch between two Object arrays over the specified ranges, otherwise returns -1 if no mismatch is found.


Arrays.mismatch(short[], short[])This method finds and returns the index of the first mismatch between two short arrays, otherwise returns -1 if no mismatch is found.


Arrays.mismatch(short[], int, int, short[], int, int)This method finds and returns the relative index of the first mismatch between two short arrays over the specified ranges, otherwise returns -1 if no mismatch is found.



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 -IV


Some more Methods of Arrays class Part -V


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