PairwiseExtension<T> extension

Extends the Stream class with the ability to emit the nth and n-1th events as a pair

on
  • Stream<T>

Methods

pairwise() → Stream<Iterable<T>>
Emits the n-th and n-1th events as a pair.. [...]