com.atlassian.bamboo.plugins.rest.util
Class Paginator

java.lang.Object
  extended by com.atlassian.bamboo.plugins.rest.util.Paginator

public class Paginator
extends java.lang.Object


Constructor Summary
Paginator()
           
 
Method Summary
static org.apache.commons.lang.math.IntRange getPaginateRange(java.util.List input, javax.ws.rs.core.UriInfo uriInfo)
           
static
<T> java.util.List<T>
paginate(java.util.List<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
 

Constructor Detail

Paginator

public Paginator()
Method Detail

getPaginateRange

public static org.apache.commons.lang.math.IntRange getPaginateRange(java.util.List input,
                                                                     javax.ws.rs.core.UriInfo uriInfo)

paginate

public static <T> java.util.List<T> paginate(java.util.List<T> input,
                                             org.apache.commons.lang.math.IntRange range)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.