Interface ToNonEmptyStreamFunction<T,​R>

  • Type Parameters:
    T - the type of the input to the function
    R - the type of the elements in the resulting stream of the function
    All Superinterfaces:
    Function<T,​NonEmptyStream<R>>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ToNonEmptyStreamFunction<T,​R>
    extends Function<T,​NonEmptyStream<R>>
    Represents a function that accepts one argument and produces a NonEmptyStream.
    See Also:
    Function