code: public static <T> Stream<T> stream(final T[] array) {
          return new FixedSizeStream<>(array.length, new Func1<Integer, T>() {
              @Override
              public T call(Integer index) {
                  return array[index];
              }
          });
      }
docs: Converts a non-primitive array into a {@link Stream}.
  
  @param array array to convert.
  @param <T>   a type of array items.
  @return a {@link Stream} that represents source array's elements.