Using java to handle state using closures instead of keeping the state in the object. I'm really sorry.
Repository from Github https://github.comconilas/java-objects-as-closuresRepository from Github https://github.comconilas/java-objects-as-closures