mirror of
https://github.com/LingCoder/OnJava8.git
synced 2026-08-24 06:53:27 +08:00
nextint -> nextInt (#394)
* 忽路->忽略 * 修复跳转链接错误 * 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
This commit is contained in:
@@ -1171,7 +1171,7 @@ class Part implements Supplier<Part> {
|
||||
|
||||
private static Random rand = new Random(47);
|
||||
public Part get() {
|
||||
int n = rand.nextint(prototypes.size());
|
||||
int n = rand.nextInt(prototypes.size());
|
||||
return prototypes.get(n).get();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user