package com.yahoo.slime;

import java.util.function.Function;
import java.util.stream.IntStream;
import java.util.stream.Stream;

public final class SlimeStream {
    private SlimeStream() {}

    /**
     * Create a stream from a Slime {@link Inspector} pointing to an array.
     * @param array the array inspector
     * @param mapper the function mapping to Stream elements
     * @return A Stream of array elements
     */
    public static <T> Stream<T> fromArray(Inspector array, Function<Inspector, T> mapper) {
        return IntStream.range(0, array.entries())
                .mapToObj(array::entry)
                .map(mapper);
    }
}

@@ -123,16 +123,96 @@
 tream;%0A%0A
+/**%0A * Simple utility to bridge Slime and Streams.%0A *%0A * @author ogronnesby%0A */%0A
 public f

Add author and simple javadoc to SlimeStream