code: @SafeVarargs
    public static <T> Stream<T> stream(T... elements) {
      return Arrays.stream(elements);
    }
docs: Returns a {@link Stream} from the array of elements.
  
  @param <T> Class type of the elements in the array.
  @param elements array of elements to convert into a {@link Stream}.
  @return a {@link Stream} for the elements in the array.
  @see java.util.stream.Stream