Interface HasStreamType<S extends BaseStream<?,S>>

All Known Subinterfaces:
IntermediateOperation<S,R>, TerminalOperation<S,R>

public interface HasStreamType<S extends BaseStream<?,S>>
  • Method Summary

    Modifier and Type
    Method
    Description
    Class<? super S>
    Returns the stream type on which the operation is supposed to be invoked.
  • Method Details

    • streamType

      Class<? super S> streamType()
      Returns the stream type on which the operation is supposed to be invoked.

      Any of the following classes can be returned:

      Returns:
      the stream type on which the operation is supposed to be invoked