Functional Programming Examples using Java.