Here you can find the source of joinedList(T first, T... others)
public static <T> List<T> joinedList(T first, T... others)
//package com.java2s; //License from project: Apache License import java.util.*; public class Main { public static <T> List<T> joinedList(T first, T... others) { ArrayList<T> list = new ArrayList<T>(); list.add(first);/*from w w w .j a v a 2s . c o m*/ Collections.addAll(list, others); return list; } }