com.atlassian.bamboo.plugins.rest.common
Class Paginator
java.lang.Object
com.atlassian.bamboo.plugins.rest.common.Paginator
public class Paginator
- extends java.lang.Object
Method Summary |
static
<T> java.util.Collection<T> |
|
getLast(java.util.Collection<T> input,
javax.ws.rs.core.UriInfo uriInfo)
|
static org.apache.commons.lang.math.IntRange |
getPaginateRange(java.util.Collection input,
javax.ws.rs.core.UriInfo uriInfo)
|
static PagerPaginationSupport |
getPaginationSupport(com.atlassian.user.search.page.Pager pager,
javax.ws.rs.core.UriInfo uriInfo)
|
static
<T> java.util.Collection<T> |
|
paginate(java.util.Collection<T> input,
org.apache.commons.lang.math.IntRange range)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Paginator
public Paginator()
getLast
public static <T> java.util.Collection<T> getLast(java.util.Collection<T> input,
javax.ws.rs.core.UriInfo uriInfo)
getPaginateRange
public static org.apache.commons.lang.math.IntRange getPaginateRange(java.util.Collection input,
javax.ws.rs.core.UriInfo uriInfo)
getPaginationSupport
public static PagerPaginationSupport getPaginationSupport(com.atlassian.user.search.page.Pager pager,
javax.ws.rs.core.UriInfo uriInfo)
paginate
public static <T> java.util.Collection<T> paginate(java.util.Collection<T> input,
org.apache.commons.lang.math.IntRange range)
Copyright © 2012 Atlassian. All Rights Reserved.