T - item typeR - low level result typepublic abstract class Page<T,R> extends Object implements Iterable<T>
| Constructor and Description | 
|---|
Page(List<T> content,
    R lowLevelResult)  | 
| Modifier and Type | Method and Description | 
|---|---|
R | 
getLowLevelResult()  | 
abstract boolean | 
hasNextPage()
Checks whether this page has a "next page." If this method returns
 true, the next page can be retrieved by calling  
next. | 
Iterator<T> | 
iterator()  | 
abstract Page<T,R> | 
nextPage()
Retrieves the next page. 
 | 
int | 
size()  | 
String | 
toString()  | 
public abstract boolean hasNextPage()
next. If it
 returns false, any call to next will be guaranteed to throw an
 IllegalStateException.public abstract Page<T,R> nextPage()
NoSuchElementException - if there is no next pageAmazonServiceException - on error making the remote callpublic final int size()
public final R getLowLevelResult()
Copyright © 2015. All rights reserved.