#Java8 #Java8Tutorials
In this video we will sort a List of integer using Comparator.
As we know Interface Comparator contain only one abstract method Compare.
int compare(T o1, T o2);
So its a Functional Interface and we can write the Lambda Expression for Compare method .
Related Videos:-
Lambda Expression in Detail :-
• Java 8 Tutorial 04 :- Lambda Expressi...
How to Write Lambda Expression in Java 8 :-
• Java 8 Tutorial 01 :- How to Write L...
Website: http://liferayiseasy.blogspot.in/Face... / google + : https://plus.google.com/u/0/collectio... / adit2787
About:-Welcome on Tech Freak .Here you find tutorials on various Technologies like Liferay 6.2 , Liferay 7(DXP) , JUnit ,Java 8 etc.
Please SUBSCRIBE to Tech Freak, Thanks.