Skip to content

Commit 3dbcd2f

Browse files
committed
Part-8.2
1 parent 1738159 commit 3dbcd2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

data/part-8/2-hash-map.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ HashMap<String, Book> directory = new HashMap<>();
283283
```
284284

285285
<!-- Yllä oleva hajautustaulu käyttää avaimena `String`-oliota. Laajennetaan esimerkkiä siten, että hakemistoon lisätään kaksi kirjaa, `"Järki ja tunteet"` ja `"Ylpeys ja ennakkoluulo"`. -->
286-
The hash map above uses a`String` object as a key. Let's expand the example so that two books are added to the directory, `"Sense and Sensibility"` and `"Pride and prideAndPrejudice"`.
286+
The hash map above uses a`String` object as a key. Let's expand the example so that two books are added to the directory, `"Sense and Sensibility"` and `"Pride and Prejudice"`.
287287

288288
<!-- ```java
289289
Book jarkiJaTunteet = new Book("Järki ja tunteet", 1811, "...");

0 commit comments

Comments
 (0)