This library is an attempt at functional programming in Java. Operations within the library are all lazy(expression are not evaluted until their values are needed). Additionally the data structure within are Immutable/Persistent.
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.drjoliv</groupId>
<artifactId>jfunc</artifactId>
<version>0.1</version>
</dependency>
euler solutions repo for more examples.