Skip to content

Commit 84e5f4d

Browse files
authored
Update introduction.md
Aligned spaces
1 parent a5a57f7 commit 84e5f4d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

exercises/concept/international-calling-connoisseur/.docs/introduction.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ fruitPrices.get("apple"); // => 100
3939
Use [containsKey][map-containskey-javadoc] to see if the map contains a particular key.
4040

4141
```java
42-
fruitPrices.containsKey("apple"); // => true
43-
fruitPrices.containsKey("orange"); // => false
42+
fruitPrices.containsKey("apple"); // => true
43+
fruitPrices.containsKey("orange"); // => false
4444
```
4545

4646
Remove entries with [remove][map-remove-javadoc].
4747

4848
```java
49-
fruitPrices.put("plum", 90); // Add plum to map
50-
fruitPrices.remove("plum"); // Removes plum from map
49+
fruitPrices.put("plum", 90); // Add plum to map
50+
fruitPrices.remove("plum"); // Removes plum from map
5151
```
5252

5353
The [size][map-size-javadoc] method returns the number of entries.
@@ -59,7 +59,7 @@ fruitPrices.size(); // Returns 2
5959
You can use the [keySet][map-keyset-javadoc] or [values][map-values-javadoc] methods to obtain the keys or the values in a Map as a Set or collection respectively.
6060

6161
```java
62-
fruitPrices.keySet(); // Returns "apple" and "pear" in a set
62+
fruitPrices.keySet(); // Returns "apple" and "pear" in a set
6363
fruitPrices.values(); // Returns 100 and 80, in a Collection
6464
```
6565

0 commit comments

Comments
 (0)