code: public static <T> List<T> list(T... values) {
          return new ArrayList<T>(Arrays.asList(values));
      }
docs: Create a list from values.
  
  @param values values to create a list from.
  @return list with values.