skillshared
Pages
(Move to ...)
Home
▼
Sunday, April 10, 2022
How to convert Roman numbers to Integer ?
›
package java8.algorithemic; import java.util.HashMap; import java.util.Map; public class RomanToInteger { private static Map<Cha...
Saturday, April 2, 2022
How to use Java Optional
›
The most common and frequent exception which many Java developers encounter is NullPointerException. Though this is very common exception a...
Thursday, February 3, 2022
Java Function example use case
›
Java Function<T, R> is functional interface which accepts one type of argument and return a result. We can leverage java Function to w...
Sunday, January 30, 2022
How to group list of objects using java lambda
›
Let's consider the following POJO class. public class Dish { private String name; private Boolean vegitarian; private Integer calor...
How to replace anonymous class with Java 8 lambda
›
Java lambda expression can be used to replace legacy anonymous class. For example, let's consider the following POJO class. public cla...
›
Home
View web version