Package com.restfb
Class Connection.Itr<T>
java.lang.Object
com.restfb.Connection.Itr<T>
- All Implemented Interfaces:
ConnectionIterator<T>
,Iterator<List<T>>
- Enclosing class:
- Connection<T>
Iterator over connection pages.
- Since:
- 1.6.7
- Author:
- Mark Allen
-
Constructor Summary
ModifierConstructorDescriptionprotected
Itr
(Connection<T> connection) Creates a new iterator over the givenconnection
. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
Itr
Creates a new iterator over the givenconnection
.- Parameters:
connection
- The connection over which to iterate.
-
-
Method Details
-
hasNext
-
next
-
remove
-
snapshot
Description copied from interface:ConnectionIterator
gets the connection of the current iteration step.- Specified by:
snapshot
in interfaceConnectionIterator<T>
- Returns:
- the current connection
- See Also:
-