public class PaginatedCollection<T>
extends org.jclouds.collect.IterableWithMarker<T>
| Modifier | Constructor and Description |
|---|---|
protected |
PaginatedCollection(Iterable<T> resources,
Iterable<Link> links) |
protected |
PaginatedCollection(Iterable<T> resources,
Iterable<Link> links,
Integer totalEntries) |
| Modifier and Type | Method and Description |
|---|---|
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() |
allMatch, anyMatch, append, append, contains, copyInto, cycle, filter, filter, first, firstMatch, from, from, get, index, isEmpty, join, last, limit, of, size, skip, toArray, toList, toMap, toSet, toSortedList, toSortedSet, toString, transform, transformAndConcat, uniqueIndexprotected PaginatedCollection(@Nullable
Iterable<T> resources,
@Nullable
Iterable<Link> links,
@Nullable
Integer totalEntries)
public com.google.common.base.Optional<Integer> getTotalEntries()
public PaginationOptions nextPaginationOptions()
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.