|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.common.collect.FluentIterable<T>
org.jclouds.collect.IterableWithMarker<T>
org.jclouds.openstack.v2_0.domain.PaginatedCollection<T>
public class PaginatedCollection<T>
Base class for a paginated collection in OpenStack.
| Constructor Summary | |
|---|---|
protected |
PaginatedCollection(Iterable<T> resources,
Iterable<Link> links)
|
protected |
PaginatedCollection(Iterable<T> resources,
Iterable<Link> links,
Integer totalEntries)
|
| Method Summary | |
|---|---|
Iterable<Link> |
getLinks()
links that relate to this collection |
com.google.common.base.Optional<Integer> |
getTotalEntries()
|
Iterator<T> |
iterator()
|
com.google.common.base.Optional<Object> |
nextMarker()
|
PaginationOptions |
nextPaginationOptions()
|
| Methods inherited from class com.google.common.collect.FluentIterable |
|---|
allMatch, anyMatch, contains, copyInto, cycle, filter, filter, first, firstMatch, from, from, get, index, isEmpty, last, limit, size, skip, toArray, toList, toMap, toSet, toSortedList, toSortedSet, toString, transform, transformAndConcat, uniqueIndex |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected PaginatedCollection(@Nullable
Iterable<T> resources,
@Nullable
Iterable<Link> links,
@Nullable
Integer totalEntries)
protected PaginatedCollection(Iterable<T> resources,
Iterable<Link> links)
| Method Detail |
|---|
public Iterator<T> iterator()
public Iterable<Link> getLinks()
public com.google.common.base.Optional<Integer> getTotalEntries()
public PaginationOptions nextPaginationOptions()
public com.google.common.base.Optional<Object> nextMarker()
nextMarker in class org.jclouds.collect.IterableWithMarker<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||