com.atlassian.jira.entity
Class PredicatedPagedList<E>

java.lang.Object
  extended by com.atlassian.jira.entity.PredicatedPagedList<E>
All Implemented Interfaces:
PagedList<E>

public class PredicatedPagedList<E>
extends Object
implements PagedList<E>

Warps a Predicate around the EntityPagedList

Since:
v6.1

Constructor Summary
PredicatedPagedList(PagedList<E> delegate, com.google.common.base.Predicate<E> predicate)
           
 
Method Summary
 List<E> getCompleteList()
           
 List<E> getPage(int pageNumber)
           
 int getPageSize()
           
 int getSize()
           
 Iterator<List<E>> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PredicatedPagedList

public PredicatedPagedList(PagedList<E> delegate,
                           com.google.common.base.Predicate<E> predicate)
Method Detail

getPage

public List<E> getPage(int pageNumber)
Specified by:
getPage in interface PagedList<E>

iterator

public Iterator<List<E>> iterator()
Specified by:
iterator in interface PagedList<E>

getCompleteList

public List<E> getCompleteList()
Specified by:
getCompleteList in interface PagedList<E>

getSize

public int getSize()
Specified by:
getSize in interface PagedList<E>

getPageSize

public int getPageSize()
Specified by:
getPageSize in interface PagedList<E>


Copyright © 2002-2014 Atlassian. All Rights Reserved.