Class PageSetImpl<T>

java.lang.Object
java.util.AbstractCollection<T>
java.util.AbstractSet<T>
java.util.HashSet<T>
java.util.LinkedHashSet<T>
org.jclouds.blobstore.domain.internal.PageSetImpl<T>
All Implemented Interfaces:
Serializable, Cloneable, Iterable<T>, Collection<T>, SequencedCollection<T>, SequencedSet<T>, Set<T>, PageSet<T>

public class PageSetImpl<T> extends LinkedHashSet<T> implements PageSet<T>
See Also:
  • Field Details

    • marker

      protected final String marker
  • Constructor Details

  • Method Details

    • 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. Some providers like Azure have opaque markers so portable code should not rely on the actual values.
      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>
    • toString

      public String toString()
      Overrides:
      toString in class AbstractCollection<T>