Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shihyuho authored Feb 15, 2022
1 parent 7fbff2a commit 158b169
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ PageSupport

`PageSupport` 也有提供 Builder 模式的建構方式, 你可以透過 `PageSupport#of` 開始一個 Builder 的建構:

```
```java
PageSupport
.of(method::fetchData)
.args(1, 2L, "3", Pageable.ofSize(10))
Expand All @@ -60,7 +60,7 @@ PageSupport
使用 Builder 模式就可以事先定義 *Page Stream* 的建構方式, 且重複的開出多個 *stream* 物件, 如:

```java
var fetcher = PageSupport.of(method::toInvoke);
var fetcher = PageSupport.of(method::fetchData);

fetcher.args(1, 2L, "3", Pageable.ofSize(10))
.stream()
Expand Down

0 comments on commit 158b169

Please sign in to comment.