@Beta public class PaginatedCollection<T> extends IterableWithMarker<T>
Modifier | Constructor and Description |
---|---|
protected |
PaginatedCollection(Iterable<T> resources,
Iterable<Link> links,
int totalEntries) |
Modifier and Type | Method and Description |
---|---|
Iterable<Link> |
getLinks()
links that relate to this collection
|
int |
getTotalEntries() |
Iterator<T> |
iterator() |
com.google.common.base.Optional<Object> |
nextMarker()
If there is a next marker, then the set is incomplete and you should issue another command to
retrieve the rest, setting the option
marker to this value |
PaginationOptions |
nextPaginationOptions() |
allMatch, anyMatch, contains, copyInto, cycle, filter, filter, first, firstMatch, from, from, get, index, isEmpty, last, limit, size, skip, toArray, toImmutableList, toImmutableSet, toImmutableSortedSet, toList, toMap, toSet, toSortedImmutableList, toSortedList, toSortedSet, toString, transform, transformAndConcat, uniqueIndex
public int getTotalEntries()
public PaginationOptions nextPaginationOptions()
public com.google.common.base.Optional<Object> nextMarker()
IterableWithMarker
marker
to this valuenextMarker
in class IterableWithMarker<T>
Copyright © 2009-2013 jclouds. All Rights Reserved.