Class PaginatedCollection<T>
java.lang.Object
com.google.common.collect.FluentIterable<T>
org.jclouds.collect.IterableWithMarker<T>
org.jclouds.digitalocean2.domain.internal.PaginatedCollection<T>
- All Implemented Interfaces:
Iterable<T>
Base class for all collections that return paginated results.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPaginatedCollection(List<T> items, PaginatedCollection.Meta meta, PaginatedCollection.Links links) -
Method Summary
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, uniqueIndexMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
PaginatedCollection
protected PaginatedCollection(List<T> items, PaginatedCollection.Meta meta, PaginatedCollection.Links links)
-
-
Method Details
-
items
-
meta
-
links
-
iterator
-
nextMarker
Description copied from class:IterableWithMarkerIf there is a next marker, then the set is incomplete and you should issue another command to retrieve the rest, setting the optionmarkerto this value- Specified by:
nextMarkerin classIterableWithMarker<T>- Returns:
- next marker, or absent if list is complete
-