public static List < String > toList ( String [ ] input ) { List < String > ret = new ArrayList <> ( ) ; for ( int i = 0 ; i < input . length ; i ++ ) ret . ( input [ i ] ) ; return ret ; }
Convert a string array into a list