# Interface BaseStream<T, S extends BaseStream<T,S>>

All Superinterfaces:
  `AutoCloseable`

All Known Subinterfaces:
  `Stream<T>`

public interface BaseStream<T, S extends BaseStream<T,S>> extends AutoCloseable

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `close()`
  `Iterator<T>`
  `iterator()`
  `S`
  `parallel()`
  `S`
  `sequential()`

- ## Method Details

  - ### iterator

    Iterator<T> iterator()

  - ### sequential

    S sequential()

  - ### parallel

    S parallel()

  - ### close

    void close()
    Specified by:
      `close` in interface `AutoCloseable`