org.jclouds.blobstore.domain.internal
Class PageSetImpl<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<E>
java.util.LinkedHashSet<T>
org.jclouds.blobstore.domain.internal.PageSetImpl<T>
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<T>, Collection<T>, Set<T>, PageSet<T>
public class PageSetImpl<T>
- extends LinkedHashSet<T>
- implements PageSet<T>
- See Also:
- Serialized Form
Method Summary |
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()
|
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
marker
protected final String marker
PageSetImpl
public PageSetImpl(Iterable<? extends T> contents,
@Nullable
String nextMarker)
getNextMarker
public 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
- Specified by:
getNextMarker
in interface PageSet<T>
- Returns:
- next marker, or null if list is complete
hashCode
public int hashCode()
-
- Specified by:
hashCode
in interface Collection<T>
- Specified by:
hashCode
in interface Set<T>
- Overrides:
hashCode
in class AbstractSet<T>
equals
public boolean equals(Object obj)
-
- Specified by:
equals
in interface Collection<T>
- Specified by:
equals
in interface Set<T>
- Overrides:
equals
in class AbstractSet<T>
Copyright © 2009-2012 jclouds. All Rights Reserved.