How to find all users with paging using Java API?

https://docs.atlassian.com/software/jira/docs/api/8.21.0/com/atlassian/jira/bc/user/search/UserSearchService.html#findUsers-com.atlassian.jira.bc.JiraServiceContext-java.lang.String-com.atlassian.jira.bc.user.search.UserSearchParams-

UserSearchService.findUsers() will take a UserSearchParams.

https://docs.atlassian.com/software/jira/docs/api/8.21.0/com/atlassian/jira/bc/user/search/UserSearchParams.html

UserSearchParams allow setting a limit on results, but how do you search for the 2nd page?