@SafeVarargs @SuppressWarnings("varargs") public static <T>Stream<T> of(T... values){
  return Arrays.stream(values);
}

@ SafeVarargs @ SuppressWarnings ( "varargs" ) public static < T > Stream < T > of ( T ... values ) { return Arrays . stream ( values ) ; }
returns a sequential ordered stream whose elements are the specified values .
