> +   public StreamOptions nextStreamOptions() {
> +      return StreamOptions.class.cast(nextMarker().get());
> +   }
> +
> +   @Override
> +   public Optional<Object> nextMarker() {
> +      for (Link link: getLinks()) {
> +         if (Link.Relation.NEXT == link.getRelation()) {
> +            return Optional.of(toListOptions(link));
> +         }
> +      }
> +
> +      return Optional.absent();
> +   }
> +
> +   private Object toListOptions(Link link) {

> Still returning an Object because that's what the base abstract class 
> IterableWithMarker requires.

Yes, noticed that. Silly comment.

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

Reply via email to