<T>List<T> concatValues(final T[]... data){
  final List<T> rv=new ArrayList<>();
  for (  T[] values : data) {
    rv.addAll(Arrays.asList(values));
  }
  return rv;
}

< T > List < T > concatValues ( final T [ ] ... data ) { final List < T > rv = new ArrayList < > ( ) ; for ( T [ ] values : data ) { rv . addAll ( Arrays . asList ( values ) ) ; } return rv ; }
helper for concatenating several arrays .
