Some java8 lambda snippets