Module storm
Package st.orm

Interface ResultCallback<T,R>

Type Parameters:
T - input stream.
R - result of the processing.
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 ResultCallback<T,R>
Result callback interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    process(Stream<T> stream)
    Process the given stream.
  • Method Details

    • process

      R process(@Nonnull Stream<T> stream)
      Process the given stream.
      Parameters:
      stream - stream to process.
      Returns:
      the result of the processing.