Class PaginatedCollection<T>
- java.lang.Object
-
- com.google.common.collect.FluentIterable<T>
-
- org.jclouds.collect.IterableWithMarker<T>
-
- org.jclouds.openstack.v2_0.domain.PaginatedCollection<T>
-
- All Implemented Interfaces:
Iterable<T>
public class PaginatedCollection<T> extends IterableWithMarker<T>
Base class for a paginated collection in OpenStack.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<Link>getLinks()links that relate to this collectioncom.google.common.base.Optional<Integer>getTotalEntries()Iterator<T>iterator()com.google.common.base.Optional<Object>nextMarker()PaginationOptionsnextPaginationOptions()-
Methods inherited from class com.google.common.collect.FluentIterable
allMatch, anyMatch, append, append, concat, concat, concat, concat, concat, contains, copyInto, cycle, filter, filter, first, firstMatch, from, from, from, get, index, isEmpty, join, last, limit, of, of, size, skip, stream, toArray, toList, toMap, toMultiset, toSet, toSortedList, toSortedSet, toString, transform, transformAndConcat, uniqueIndex
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getTotalEntries
public com.google.common.base.Optional<Integer> getTotalEntries()
- Returns:
- The total number of entries in this collection, if that information is present.
-
nextPaginationOptions
public PaginationOptions nextPaginationOptions()
-
nextMarker
public com.google.common.base.Optional<Object> nextMarker()
- Specified by:
nextMarkerin classIterableWithMarker<T>
-
-