public class

PageRequestImpl

extends Object
implements PageRequest
java.lang.Object
   ↳ com.atlassian.bitbucket.util.PageRequestImpl

Class Overview

Default implementation of PageRequest.

Summary

[Expand]
Inherited Constants
From interface com.atlassian.bitbucket.util.PageRequest
Public Constructors
PageRequestImpl(int start, int limit)
Constructs a new PageRequestImpl for retrieving a page with limit entries from the specified start index.
Public Methods
@Nonnull PageRequest buildRestrictedPageRequest(int maxLimit)
boolean equals(Object obj)
int getLimit()
int getStart()
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.bitbucket.util.PageRequest

Public Constructors

public PageRequestImpl (int start, int limit)

Constructs a new PageRequestImpl for retrieving a page with limit entries from the specified start index.

Parameters
start the zero-based index of the first entry to include on the page
limit the maximum number of entries to include on the page

Public Methods

@Nonnull public PageRequest buildRestrictedPageRequest (int maxLimit)

public boolean equals (Object obj)

public int getLimit ()

public int getStart ()

public int hashCode ()

public String toString ()