排序
How to handle checked exception in the lambda expression
How to handle checked exception in the lambda expression,Lambda expression is all how we write code. It’s about how concise, smaller, and less boilerplate code we can write. Howev...
Lambda Expression
Lambda Expression, Hello Java Programmers Java 1.8 SE brings to us many new features, But among these features, one shouts more than any other feature is... guess What?? Yeah, you ...
Java Streams filter, distinct and map
Java Streams filter, distinct and map,Simple example to illustrate using Java stream with filter,distinct and map. public static void main(String[] args) { Person lokesh = new Pers...
Default methods in Java 8
Default methods in Java 8, The problem interface Automobile{ void engineStart(); void engineStop(); } class Car implements Automobile{ public void engineStart() { } public void eng...
Lambda expressions in Java
Lambda expressions in Java, What is a lambda expression? Lambda expression is a function without any signature. It doesn't have a name, return type, and modifiers. It can have any ...
Java 8 – Functional Interface
Java 8 - Functional Interface, Java 8 - Lambda Expression (3 Part Series) 1 Java 8 - Lambda Expression 101 2 Java 8 - Lambda Expression Rule 3 Java 8 - Functional Interface In the ...
Performing basic stats in Java 8
Performing basic stats in Java 8,The Stream interface is introduced in Java 8 which supports parallel execution. The Stream interface supports the sorted, map, filter, reduce patte...
Java Number One in 2019?
Java Number One in 2019?,End of the year! Some facts about Java in 2019! Is it good? Is it bad? Your thoughts? In 2019 Java is still number one on Tiobe index - https://www.tiobe.c...
JAVA 8: Utilize métodos STATIC em INTERFACES e simplifique seu código!
JAVA 8: Utilize métodos STATIC em INTERFACES e simplifique seu código!,Métodos static em Interfaces do Java 8 simplificam e reduzem seu código, além de poderem aumentar sua pr...
Java 8 Optional: A way to avoid NullPointerException
Java 8 Optional: A way to avoid NullPointerException,In this post, we will see about Java 8 optional. Did you ever get NullPointerException as Java developer? If you are experience...
Java 8 Streams: Pare de usar ‘for’ e simplifique seu código!
Java 8 Streams: Pare de usar ‘for’ e simplifique seu código!,Streams do Java 8 deixam seu código mais legível e conciso, além de poderem aumentar sua produtividade ao lidar c...
Java 8: Entenda facilmente funções lambda, a principal novidade!
Java 8: Entenda facilmente funções lambda, a principal novidade!,A criação de Funções Lambda foi a principal novidade do Java 8, lançado em 2014! Hoje é praticamente obriga...