Groovy Method References

Groovy Method References
I was listening to a podcast recently about Eclipse tooling for Java 8 and heard them talking about method references, and one of my co-workers mentioned it as a feature in Groovy. I recently ran across a problem which seemed particular well suited for...

Groovy LazyMap - Caching Map

Groovy LazyMap - Caching Map
I was working on a Groovy class recently which involved putting a series of closures into a map to do some processing when invoked, but I realized that I didn't really want to run the closures each time they were accessed, once they ran the first time,...
Page 1 of 41234Next »