Package org.jclouds.googlecloud.internal
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>>>
,InvocationContext<I>
- Direct Known Subclasses:
BaseToIteratorOfListPage
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>>>, InvocationContext<I>
-
-
Constructor Summary
Constructors Constructor Description BaseToIteratorOfListPage()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Iterator<ListPage<T>>
apply(ListPage<T> input)
protected abstract com.google.common.base.Function<String,ListPage<T>>
fetchNextPage(O options)
I
setContext(HttpRequest request)
-
-
-
Method Detail
-
apply
public Iterator<ListPage<T>> apply(ListPage<T> input)
- Specified by:
apply
in interfacecom.google.common.base.Function<T,O extends ListOptions>
- Specified by:
apply
in interfaceFunction<T,O extends ListOptions>
-
fetchNextPage
protected abstract com.google.common.base.Function<String,ListPage<T>> fetchNextPage(O options)
-
setContext
public I setContext(HttpRequest request)
- Specified by:
setContext
in interfaceInvocationContext<T>
-
-