MCPcopy Create free account
hub / github.com/castello/spring_basic / setPageSize

Method setPageSize

ch4/SearchCondition.java:57–62  ·  view source on GitHub ↗
(Integer pageSize)

Source from the content-addressed store, hash-verified

55 }
56
57 public void setPageSize(Integer pageSize) {
58 this.pageSize = requireNonNullElse(pageSize, DEFAULT_PAGE_SIZE);
59
60 // MIN_PAGE_SIZE <= pageSize <= MAX_PAGE_SIZE
61 this.pageSize = max(MIN_PAGE_SIZE, min(this.pageSize, MAX_PAGE_SIZE));
62 }
63
64 public String getOption() {
65 return option;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected