码迷,mamicode.com
首页 > 编程语言 > 详细

java.util.Arrays主要的方法

时间:2016-10-09 13:59:50      阅读:156      评论:0      收藏:0      [点我收藏+]

标签:

1. public static <T> List<T> asList(T... a)

List<String> stooges = Arrays.asList("Larry", "Moe", "Curly");

2.public static int hashCode(long[] a)

3.public static String toString(long[] a)

4.public static int deepHashCode(Object[] a)

5.public static short[] copyOfRange(short[] original,int from, int to)

6. public static double[] copyOf(double[] original, int newLength)

7.public static void fill(Object[] a, int fromIndex, int toIndex, Object val)

8. public static void fill(Object[] a, Object val)

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

   new Float(f1).equals(new Float(f2))

10.  public static int binarySearch(Object[] a, Object key)

11. public static int binarySearch(Object[] a, int fromIndex, int toIndex, Object key)

 

java.util.Arrays主要的方法

标签:

原文地址:http://www.cnblogs.com/fengfengtk/p/5941683.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!