Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

lambda comparator java

Comparator<Developer> byName =
	(Developer o1, Developer o2)->o1.getName().compareTo(o2.getName());
Source by mkyong.com #
 
PREVIOUS NEXT
Tagged: #lambda #comparator #java
ADD COMMENT
Topic
Name
6+7 =