com.khubla.pragmatach.framework.dao
Class PagerImpl<T,I>
java.lang.Object
com.khubla.pragmatach.framework.dao.PagerImpl<T,I>
- All Implemented Interfaces:
- Pager<T>
public class PagerImpl<T,I>
- extends Object
- implements Pager<T>
- Author:
- tome
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PagerImpl
public PagerImpl(DAO<T,I> dao,
int batchsize)
throws PragmatachException
- ctor
- Throws:
PragmatachException
getBatchsize
public int getBatchsize()
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Pager<T>
next
public List<T> next()
throws PragmatachException
- Specified by:
next
in interface Pager<T>
- Throws:
PragmatachException
Copyright © 2014 khubla.com. All rights reserved.