Collectors.partitioningBy(Predicate) と Collectors.groupingBy(Function) の最大の違いはどれか。

partitioningByは条件に合うか否かの2グループに分け、groupingByは任意のキーで多グループに分ける。