|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mdm.index.page.PageIteratorWrapper
Base wrapper for PageIterator
Constructor Summary | |
PageIteratorWrapper(java.util.ArrayList fullData)
Creates a new instance of PageIteratorWrapper that does not maintain connection to server. |
|
PageIteratorWrapper(java.lang.Object[] fullData)
Creates a new instance of PageIteratorWrapper that does not maintain connection to server. |
|
PageIteratorWrapper(PageData pageData,
int pageSize,
int maxElements)
Creates a new instance of PageIteratorWrapper that maintains connection to server. |
Method Summary | |
void |
close()
See PageIterator |
int |
count()
See PageIterator |
int |
currentPosition()
See PageIterator |
protected PageIterator |
getGenericIterator()
Get the underlying generic page iterator |
boolean |
hasNext()
See PageIterator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PageIteratorWrapper(java.util.ArrayList fullData)
fullData
- Full data source as arraypublic PageIteratorWrapper(java.lang.Object[] fullData)
fullData
- Full data provided in arraypublic PageIteratorWrapper(PageData pageData, int pageSize, int maxElements)
pageData
- Handle to server side datapageSize
- Size of pagemaxElements
- Max elements to retrieve from serverMethod Detail |
public void close() throws java.rmi.RemoteException
java.rmi.RemoteException
- See PageIteratorPageIterator.close()
public int count() throws PageException, java.rmi.RemoteException
java.rmi.RemoteException
- See PageIterator
PageException
- See PageIteratorPageIterator.count()
public int currentPosition()
protected PageIterator getGenericIterator()
public boolean hasNext() throws PageException, java.rmi.RemoteException
PageException
- See PageIterator
java.rmi.RemoteException
- See PageIterator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun Microsystems, Inc.