@ SafeVarargs public static < T > ArrayList < T > newArrayList ( final Iterable < T > ... iterables ) { final ArrayList < T > resultList = newArrayList ( ) ; for ( final Iterable < T > oneIterable : iterables ) { for ( final T oneElement : oneIterable ) { resultList . add ( oneElement ) ; } } return resultList ; }
new array list from iterable .