auto commit

This commit is contained in:
CyC2018 2019-11-30 16:45:47 +08:00
parent f72a49d2c2
commit 8620ad8834
4 changed files with 4 additions and 4 deletions

View File

@ -7,10 +7,10 @@
### Class Diagram
- Aggregate 是聚合类其中 createIterator() 方法可以产生一个 Iterator
- Iterator 主要定义了 hasNext() next() 方法
- Iterator 主要定义了 hasNext() next() 方法
- Client 组合了 Aggregate为了迭代遍历 Aggregate也需要组合 Iterator
<div align="center"> <img src="https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/89292ae1-5f13-44dc-b508-3f035e80bf89.png"/> </div><br>
<div align="center"> <img src="https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/image-20191130164425351.png" alt="image-20191130164425351" style="zoom: 67%;" /> </div><br>
### Implementation

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

View File

@ -7,10 +7,10 @@
### Class Diagram
- Aggregate 是聚合类其中 createIterator() 方法可以产生一个 Iterator
- Iterator 主要定义了 hasNext() next() 方法
- Iterator 主要定义了 hasNext() next() 方法
- Client 组合了 Aggregate为了迭代遍历 Aggregate也需要组合 Iterator
<div align="center"> <img src="https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/89292ae1-5f13-44dc-b508-3f035e80bf89.png"/> </div><br>
<div align="center"> <img src="https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/image-20191130164425351.png" alt="image-20191130164425351" style="zoom: 67%;" /> </div><br>
### Implementation