jabrena / functional-rosetta-stone

A repository to review the main concepts about Functional Programming with Java
https://jabrena.github.io/functional-rosetta-stone/
Apache License 2.0
9 stars 3 forks source link
functional-programming java java-stream-api java-streams

Functional Rosetta Stone

Java CI

Goal

A repository to review the main concepts about Functional Programming with Java.

How to build the project in local?

sdk env install
./mvnw clean test -DexcludedGroups=performance,endtoend
./mvnw clean test -DexcludedGroups=performance,endtoend -pl training
./mvnw clean test -DexcludedGroups=performance,endtoend -Dtest=EitherTest -pl training
./mvnw clean compile exec:java -Dexec.mainClass="info.jab.fp.concepts.FunctionalCompositionExamples" -Dexec.args="--enable-preview" -pl training
./mvnw clean test -Dgroups=performance
./mvnw clean test -Dgroups=endtoend

./mvnw versions:display-property-updates
./mvnw versions:display-dependency-updates
./mvnw versions:display-plugin-updates
./mvnw dependency:tree -pl problems 

Functional programming features in Java

Functional programming features

How to run the presentation in local?

jwebserver -p 9000 -d "$(pwd)/docs/"

Performance

Using the jmh-results.json you can review the performance results:

References