Toy project for playing with streams in Java.
Data is taken from REST Countries via the following URI: https://restcountries.eu/rest/v2/all?fields=alpha2Code;name;capital;region;area;population;translations;timezones
Start playing with Java streams executing
mvn compile jshell:run
Example:
import countries.*;
var countries = new Countries().getAll();
countries.stream().max(Comparator.comparing(Country::getPopulation)); // the most populous country