From d1d64d73ea7e5a0214f71141b2816066edc4cf0d Mon Sep 17 00:00:00 2001 From: Jianghao Lu Date: Fri, 18 Mar 2016 17:43:00 -0700 Subject: [PATCH] Add missing javadoc --- .../src/main/java/com/microsoft/azure/PagedList.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/azure-client-runtime/src/main/java/com/microsoft/azure/PagedList.java b/azure-client-runtime/src/main/java/com/microsoft/azure/PagedList.java index 5f1676ff2b68c..8c42851d4e851 100644 --- a/azure-client-runtime/src/main/java/com/microsoft/azure/PagedList.java +++ b/azure-client-runtime/src/main/java/com/microsoft/azure/PagedList.java @@ -49,10 +49,19 @@ public PagedList(Page page) { */ public abstract Page nextPage(String nextPageLink) throws CloudException, IOException; + /** + * If there are more pages available. + * + * @return true if there are more pages to load. False otherwise. + */ public boolean hasNextPage() { return this.nextPageLink != null; } + /** + * Loads a page from next page link. + * The exceptions are wrapped into Java Runtime exceptions. + */ public void loadNextPage() { try { Page nextPage = nextPage(this.nextPageLink);