code: public static Stream<Integer> stream(int[] self) {
          return IntStream.range(0, self.length).mapToObj(i -> self[i]);
      }
docs: Returns a sequential {@link Stream} with the specified array as its
  source.
  
  @param self The array, assumed to be unmodified during use
  @return a {@code Stream} for the array