Improved Apex FluentIterable

My previous implementation of FluentIterable would have been difficult to extend beyond filter and transform. I have rewritten it using the Chain of Responsibility pattern to facilitate adding more Guava FluentIterable capabilities in future. Read more »

Partial FluentIterable for Salesforce Apex

Guava's FluentIterable is really handy for processing data sets. Having something like it in Apex would be helpful. Read more »

Composing Functions for Dependency Injection with Guice

It is really tedious creating a class whose sole purpose is to compose two functions for a single purpose. Thankfully there is a better way to do this. Read more »

Bridging multimethod interfaces to functional interfaces

Lamba expression autotyping only works on functional interfaces. A functional interface has a single abstract method. Being able to autotype other interfaces can be useful, but it doesn't come for free. Read more »

Extending Interfaces by combining Default Methods and Lambda Expressions

Java 8 Lambda Expressions and Interface Default Methods can be combined to add methods to existing interfaces. This works somewhat like traits in Scala. Read more »

More results...