Package dev.tripswitch.admin
Interface Pager<T>
- Type Parameters:
T- the item type
- All Superinterfaces:
Iterator<T>
Iterator-like interface for paginated results.
Call
Iterator.hasNext() to fetch the next page if needed,
then Iterator.next() to get each item.
Check getError() after iteration completes.-
Method Details
-
getError
TripSwitchException getError()Returns any error that occurred during iteration.
-