Here you can find the source of array(T... values)
Parameter | Description |
---|---|
values | Array |
T | Any type |
public static <T> T[] array(T... values)
//package com.java2s; //License from project: GNU General Public License public class Main { /**/*from ww w . j a v a 2 s. co m*/ * Wrapper for aray * @param values Array * @param <T> Any type * @return Array */ public static <T> T[] array(T... values) { return values; } }