Overview of Gatherers4j
mainGatherers4j is a library designed to extend the Java Stream API by providing custom intermediate operations, known as Gatherers.
While Java's standard Stream API allows for custom terminal operations via Collectors, it lacks a convenient way to implement custom intermediate operations. Gatherers4j fills this gap, allowing developers to plug in new sequence manipulations, filtering, grouping, or mathematical operations directly into their stream pipelines.
Key characteristics:
- Single Entrypoint: All gatherers are accessed through the
Gatherers4jclass. - Minimal Dependencies: The library has only one tiny dependency,
JSpecify, used for nullability annotations to assist static type checkers. - License: Apache 2.0.