@Beta
public class PaginatedSet<T>
extends com.google.common.collect.ForwardingSet<T>
Set
that can be continuedModifier | Constructor and Description |
---|---|
protected |
PaginatedSet(Iterable<T> contents,
String marker) |
Modifier and Type | Method and Description |
---|---|
static <T> PaginatedSet<T> |
copyOf(Iterable<T> contents) |
static <T> PaginatedSet<T> |
copyOfWithMarker(Iterable<T> contents,
String marker) |
protected Set<T> |
delegate() |
boolean |
equals(Object obj) |
String |
getNextMarker()
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 |
int |
hashCode() |
String |
toString() |
standardEquals, standardHashCode, standardRemoveAll
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
public static <T> PaginatedSet<T> copyOf(Iterable<T> contents)
public static <T> PaginatedSet<T> copyOfWithMarker(Iterable<T> contents, String marker)
@Nullable public String getNextMarker()
marker
to this valuepublic int hashCode()
public boolean equals(Object obj)
public String toString()
toString
in class com.google.common.collect.ForwardingObject
Copyright © 2009-2012 jclouds. All Rights Reserved.