code4nothing/singlepath — pull request #11 by matteobaglini (2014-07-24 05:38:35+00:00)
Title: Solution #1 (take 1) - Use a result object that map all possibile paths/...

...use cases as methods, something like Boolean object in Smalltalk. Since Java 1.7 doesn't have block (aka lambda) like Smalltalk (and many other languages) I chose to use AnonimousClasses but they seem to have many scope issues with local variable. Next shot I'll try to use Java 1.8 with the brand new lambda support.