code: public CompletableFuture<List<TopicDescription>> getTopicsAsync(int count, int skip) {
          if (count > 100 || count < 1) {
              throw new IllegalArgumentException("Count should be between 1 and 100");
          }
  
          if (skip < 0) {
              throw new IllegalArgumentException("Skip cannot be negative");
          }
  
          CompletableFuture<String> contentFuture = getEntityAsync("$Resources/topics", String.format("$skip=%d&$top=%d", skip, count), false);
          CompletableFuture<List<TopicDescription>> tdFuture = new CompletableFuture<>();
          contentFuture.handleAsync((content, ex) -> {
              if (ex != null) {
                  tdFuture.completeExceptionally(ex);
              } else {
                  tdFuture.complete(TopicDescriptionSerializer.parseCollectionFromContent(content));
              }
              return null;
          }, MessagingFactory.INTERNAL_THREAD_POOL);
  
          return tdFuture;
      }
docs: Retrieves the list of topics present in the namespace.
  You can simulate pages of list of entities by manipulating count and skip parameters.
  skip(0)+count(100) gives first 100 entities. skip(100)+count(100) gives the next 100 entities.
  @return the list of topics.
  @param count - The number of topics to fetch. Defaults to 100. Maximum value allowed is 100.
  @param skip - The number of topics to skip. Defaults to 0. Cannot be negative.