public static <T> List<T> newArrayList(T... args) {
        List<T> l = new ArrayList<T>();
        for (int i = 0; i < args.length; i++) {
            l.add(args[i]);
        }
        return l;
    }
public static < T > List < T > newArrayList ( T ... args ) { List < T > l = new ArrayList < T > ( ) ; for ( int i = 0 ; i < args . length ; i ++ ) { l . add ( args [ i ] ) ; } return l ; }
@param args
@param <T>
@return