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
-
-
Constructor Summary
Constructors Constructor Description PageSetImpl(Iterable<? extends T> contents, String nextMarker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetNextMarker()If 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.inthashCode()StringtoString()-
Methods inherited from class java.util.LinkedHashSet
spliterator
-
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size
-
Methods inherited from class java.util.AbstractSet
removeAll
-
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
-
-
-
Field Detail
-
marker
protected final String marker
-
-
Method Detail
-
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 optionmarkerto this value. Some providers like Azure have opaque markers so portable code should not rely on the actual values.- Specified by:
getNextMarkerin interfacePageSet<T>- Returns:
- next marker, or null if list is complete
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceCollection<T>- Specified by:
hashCodein interfaceSet<T>- Overrides:
hashCodein classAbstractSet<T>
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfaceCollection<T>- Specified by:
equalsin interfaceSet<T>- Overrides:
equalsin classAbstractSet<T>
-
toString
public String toString()
- Overrides:
toStringin classAbstractCollection<T>
-
-