Class BaseToIteratorOfListPage<T,O extends ListOptions,I extends BaseToIteratorOfListPage<T,O,I>>

java.lang.Object
org.jclouds.googlecloud.internal.BaseToIteratorOfListPage<T,O,I>
All Implemented Interfaces:
com.google.common.base.Function<ListPage<T>,Iterator<ListPage<T>>>, Function<ListPage<T>,Iterator<ListPage<T>>>, org.jclouds.rest.InvocationContext<I>

public abstract class BaseToIteratorOfListPage<T,O extends ListOptions,I extends BaseToIteratorOfListPage<T,O,I>> extends Object implements com.google.common.base.Function<ListPage<T>,Iterator<ListPage<T>>>, org.jclouds.rest.InvocationContext<I>
  • Constructor Details

    • BaseToIteratorOfListPage

      public BaseToIteratorOfListPage()
  • Method Details

    • apply

      public Iterator<ListPage<T>> apply(ListPage<T> input)
      Specified by:
      apply in interface com.google.common.base.Function<T,O extends ListOptions>
      Specified by:
      apply in interface Function<T,O extends ListOptions>
    • fetchNextPage

      protected abstract com.google.common.base.Function<String,ListPage<T>> fetchNextPage(O options)
    • setContext

      public I setContext(org.jclouds.http.HttpRequest request)
      Specified by:
      setContext in interface org.jclouds.rest.InvocationContext<T>