public final class PageParameters extends Object
Constructor and Description |
---|
PageParameters(int startIndex,
int count)
Create a new instance of pagination parameters.
|
Modifier and Type | Method and Description |
---|---|
int |
getCount()
Retrieve the maximum number of resources to return in a single page, or
zero if the server should choose how many to return.
|
int |
getStartIndex()
Retrieve the offset of the first resource to be returned.
|
public PageParameters(int startIndex, int count)
startIndex
- The offset of the first resource to be returned.count
- The maximum number of resources to return in a single
page, or zero if the server should choose how many to
return.public int getStartIndex()
public int getCount()
Copyright © 2011-2015 UnboundID. All Rights Reserved.