Java 8 Implementation of Lambda Expressions