> +    * @return The options necessary to get the next page of queues.
> +    */
> +   public ListQueuesOptions nextListQueuesOptions() {
> +      return ListQueuesOptions.class.cast(nextMarker().get());
> +   }
> +
> +   @Override
> +   public Optional<Object> nextMarker() {
> +      Optional<Link> nextMarkerLink = Iterables.tryFind(getLinks(), 
> IS_NEXT_LINK);
> +      return nextMarkerLink.transform(TO_LIST_OPTIONS);
> +   }
> +
> +   private static final Predicate<Link> IS_NEXT_LINK = new Predicate<Link>() 
> {
> +      @Override
> +      public boolean apply(Link link) {
> +         return Link.Relation.NEXT == link.getRelation();

I think it's okay the way it is.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/56/files#r7892241

Reply via email to