equal
deleted
inserted
replaced
2822 * |
2822 * |
2823 * @param a the array by which the list will be backed |
2823 * @param a the array by which the list will be backed |
2824 * @return a list view of the specified array |
2824 * @return a list view of the specified array |
2825 */ |
2825 */ |
2826 public static <T> List<T> asList(T... a) { |
2826 public static <T> List<T> asList(T... a) { |
2827 return new ArrayList<T>(a); |
2827 return new ArrayList<>(a); |
2828 } |
2828 } |
2829 |
2829 |
2830 /** |
2830 /** |
2831 * @serial include |
2831 * @serial include |
2832 */ |
2832 */ |