Arrays:针对数组进行操作的工具类,比如说排序和查找
1.public static String toString(int[] a)
把数组转成字符串
2.public static void sort(int[] a)
对数组进行排序
3.public static int binarSearch(int[] a,int key)
二分查找
转载于:https://www.cnblogs.com/Deleting/p/5068643.html
Arrays:针对数组进行操作的工具类,比如说排序和查找
1.public static String toString(int[] a)
把数组转成字符串
2.public static void sort(int[] a)
对数组进行排序
3.public static int binarSearch(int[] a,int key)
二分查找
转载于:https://www.cnblogs.com/Deleting/p/5068643.html