Java 8 adds some interesting new features to Interfaces. In particular, Java 8 Interfaces can have default methods and static methods. Using these new features combined with Java 8 lambdas makes it possible to create Interfaces that are highly Functional.
In this example, we’ll model a Path that i...(more)
I wanted to see how close to Scala I could get in Java. Not only close in functionality, but close in syntax as well. No magic, no byte code generation, nothing (too) tricky or magical. Just pure, standard Java 8. Halva is the result. The only reflection is for Google Guice's Type...(more)