Skip to content

Commit 4285663

Browse files
authored
add package&class name (lingcoder#404)
* 忽路->忽略 * 修复跳转链接错误 * fix Class.getInterface() -> Class.getInterfaces() * 否者 -> 否则 * 编译期 -> 编译器 ,原文"the compiler will only allow you to say that the superclass reference is “some class that is a superclass of FancyToy” a" * ierator -> iterator * nextint -> nextInt * fix 这句翻译第一反应没太看懂,结合原文和下面的例子优化了一下翻译 * fix ojb -> obj * fix example code * add package&class name
1 parent 03afe1e commit 4285663

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/book/20-Generics.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2702,6 +2702,8 @@ public class CompilerIntelligence {
27022702
下面展示一个简单的 **Holder** 类:
27032703
27042704
```java
2705+
// generics/Holder.java
2706+
27052707
public class Holder<T> {
27062708
27072709
private T value;

0 commit comments

Comments
 (0)