Skip to content

Commit daaa6fc

Browse files
authored
Update 06_Wildcards_Versus_Type_Parameters.md
1 parent 00a3c42 commit daaa6fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ch02/06_Wildcards_Versus_Type_Parameters.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
assert !ints.containsAll(objs);
3838
```
3939

40-
给定的对象列表包含字符串“one”和给定的整数列表,但给定的整数列表不包含字符串“one”,也不包含给定的对象列表。
40+
给定的对象列表包含字符串 “one” 和给定的整数列表,但给定的整数列表不包含字符串 “one”,也不包含给定的对象列表。
4141

42-
测试 `ints.contains(obj)``ints.containsAll(objs)` 可能看起来很愚蠢。当然,整数列表将不包含任意对象,如字符串“one”。 但这是允许的,因为有时这
43-
样的测试可能会成功
42+
测试 `ints.contains(obj)``ints.containsAll(objs)` 可能看起来很愚蠢。当然,整数列表将不包含任意对象,如字符串 “one”。 但这是允许的,因为有时
43+
这样的测试可能会成功
4444

4545
```java
4646
Object obj = 1;

0 commit comments

Comments
 (0)