mirror of
https://github.com/LingCoder/OnJava8.git
synced 2026-08-23 14:33:28 +08:00
Fix issue #362:重新翻译What’s impressive is it is not intellectually prohibitive to assemble such a model (#363)
Signed-off-by: lifei.zhang <lifei.zhang@oriente.com>
This commit is contained in:
@@ -1230,7 +1230,7 @@ public class Store extends ArrayList<Aisle> {
|
||||
*/
|
||||
```
|
||||
|
||||
`Store.toString()` 显示了结果:尽管有复杂的层次结构,但多层的集合仍然是类型安全的和可管理的。令人印象深刻的是,组装这样的模型在理论上并不是禁止的。
|
||||
`Store.toString()` 显示了结果:尽管有复杂的层次结构,但多层的集合仍然是类型安全的和可管理的。令人印象深刻的是,组装这样的模型并不需要耗费过多精力。
|
||||
|
||||
**Shelf** 使用 `Suppliers.fill()` 这个实用程序,该实用程序接受 **Collection** (第一个参数),并使用 **Supplier** (第二个参数),以元素的数量为 **n** (第三个参数)来填充它。 **Suppliers** 类将会在本章末尾定义,其中的方法都是在执行某种填充操作,并在本章的其他示例中使用。
|
||||
|
||||
@@ -5185,4 +5185,4 @@ Neal After 对于 Java 问题(尤其是擦除)的看法可以从这里找到
|
||||
|
||||
<!-- 分页 -->
|
||||
|
||||
<div style="page-break-after: always;"></div>
|
||||
<div style="page-break-after: always;"></div>
|
||||
|
||||
Reference in New Issue
Block a user