com.sola.instagram.util
Class PaginationIterator<E>
java.lang.Object
com.sola.instagram.util.PaginationIterator<E>
- All Implemented Interfaces:
- java.util.Iterator<E>
public class PaginationIterator<E>
- extends java.lang.Object
- implements java.util.Iterator<E>
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PaginationIterator
public PaginationIterator(java.util.ArrayList<E> list,
java.lang.String nextUri)
throws java.lang.Exception
- Throws:
java.lang.Exception
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator<E>
next
public E next()
- Specified by:
next
in interface java.util.Iterator<E>
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator<E>
fetch
public void fetch()
throws java.lang.Exception
- Throws:
java.lang.Exception
handleLoad
public void handleLoad(JSONArray data)
throws JSONException
- Throws:
JSONException
paginationComplete
public boolean paginationComplete()
reset
public PaginationIterator<E> reset()