Creating a custom collector via Collector.of(): Write an arbitrarily chosen set of custom collectors via the Collector.of() API.