Effective Java is always a good book to read and this latest edition is no different. Here is the Amazon link to get the book. Here are some code samples and presentation promoting the book. My quick code snippet from the book.
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
public class StringManipLambda {
public static void main(String args[]){
List stringArras= Arrays.asList("First","Second","third","fourth","fifth");
Collections.sort(stringArras,(s1,s2)->Integer.compare(s1.length(),s2.length()));
stringArras.stream().forEach(System.out::println);
}
}
This is a simple code block, where we take a list of Strings and sort it based on its length. The book goes in depth of how to read this lambda expression and understand how it works.