> +         marker = set.getNextMarker();
> +         iterator = set.iterator();
> +      }
> +
> +      @Override
> +      public boolean hasNext() {
> +         return iterator.hasNext() || marker != null;
> +      }
> +
> +      @Override
> +      public StorageMetadata next() {
> +         while (true) {
> +            if (!iterator.hasNext()) {
> +               advance();
> +            }
> +            StorageMetadata metadata = iterator.next();

I rewrote this to use `AdvancingIterator` although I do not understand the 
suggestion to use concat -- could you expand on this?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/702/files#r28665484

Reply via email to