Here you can find the source of toArray(T... items)
Parameter | Description |
---|---|
T | a parameter |
items | a parameter |
public static <T> T[] toArray(T... items)
//package com.java2s; //License from project: Open Source License public class Main { /**//www. jav a 2s. co m * Small syntactical helper. * @param <T> * @param items * @return */ public static <T> T[] toArray(T... items) { return items; } }