Filtering Sets in Java 8
June 14, 2018
Given a set, it's possible to filter it using a particular condition in Java 8.
Here's the set we're playing with:
Set<String> set = new HashSet<>(); set.add("ABC123"); set.add("ABC124"); set.add("ZZZ111"); set. …