docs: updates to several patterns

This commit is contained in:
Ilkka Seppälä committed 2024-05-28 19:46:39 +03:00
1 parent 4652842c94
commit 584e949714
70 files changed
+347 -479

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ public static List<String> getModelsAfter2000(List<Car> cars){
**Step 2: Grouping**
Next, we want to group the cars by their category. This is done using the `groupingBy()` collector.
Next, we want to group the cars by their category. This is done using the `groupingBy` collector.
```java
public static Map<Category, List<Car>> getGroupingOfCarsByCategory(List<Car> cars){