Java, Lambda Expressions, Functional Programming, Programming, Software Development.
of sorting a list using an anonymous inner class: Before Java 8: Collections.sort(list, new Comparator<String>() { @Override public int compare(String s1, String s2) { return s1.compareTo(s2); } }); This method of writing code, although functional, did not promote readability or conciseness. As