# Partitioning Write several snippets of code for working with **partitioningBy()** collectors.