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.Collection input, 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
 

Constructor Detail

Paginator

public Paginator()
Method Detail

getPaginateRange

public static org.apache.commons.lang.math.IntRange getPaginateRange(java.util.Collection input,
                                                                     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 © 2010 Atlassian. All Rights Reserved.