org.chenillekit.tapestry.core.internal
Class PagedSource<T>
java.lang.Object
org.chenillekit.tapestry.core.internal.PagedSource<T>
- All Implemented Interfaces:
- Iterable<T>
public class PagedSource<T>
- extends Object
- implements Iterable<T>
Provides an implementation that will only iterate
over the objects within the range provided when prepare() is called.
- Version:
- $Id: PagedSource.java 361 2008-11-25 13:05:14Z homburgs $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PagedSource
public PagedSource(Iterable<T> source)
iterator
public Iterator<T> iterator()
- Specified by:
iterator in interface Iterable<T>
- Returns:
- See Also:
Iterable.iterator()
getTotalRowCount
public int getTotalRowCount()
prepare
public void prepare(int startIndex,
int endIndex)
Copyright © 2008-2011 ChenilleKit. All Rights Reserved.