This is an example project using Java stream Gatherers article on https://developer.ibm.com/.
This example uses the Apache Maven wrapper to build and test the project. That means you do not have to have Maven installed--just the Java developer SDK.
Once you have cloned this repository, you can compile the code and run the unit tests by using:
$ ./mvnw clean verify
The output should end with lines that look like the following:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.773 s
[INFO] Finished at: 2024-12-16T09:39:14-10:00
[INFO] ------------------------------------------------------------------------