1. A List of Strings to Uppercase 1.1 Simple Java example to convert a list of Strings to upper case. TestJava8.java package com.mkyong.java8; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.stream.Collect…
Java 8 – Filter a Map examplesFew Java examples to show you how to filter a Map with Java 8 stream API. Before Java 8 : Map<Integer, String> map = new HashMap<>(); map.put(1, "linode.com"); map.put(2, "heroku.com"); String…