org.jclouds.azure.storage.domain.internal
Class BoundedHashSet<T>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<E>
          extended by java.util.HashSet<T>
              extended by org.jclouds.azure.storage.domain.internal.BoundedHashSet<T>
All Implemented Interfaces:
Serializable, Cloneable, Iterable<T>, Collection<T>, Set<T>, BoundedSet<T>
Direct Known Subclasses:
HashSetListBlobsResponse

public class BoundedHashSet<T>
extends HashSet<T>
implements BoundedSet<T>

Author:
Adrian Cole
See Also:
Serialized Form

Field Summary
protected  String marker
           
protected  Integer maxResults
           
protected  String nextMarker
           
protected  String prefix
           
protected  URI url
           
 
Constructor Summary
BoundedHashSet(Iterable<T> contents, URI url, String prefix, String marker, Integer maxResults, String nextMarker)
           
 
Method Summary
 String getMarker()
           
 int getMaxResults()
           
 String getNextMarker()
           
 String getPrefix()
           
 URI getUrl()
           
 
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Field Detail

url

protected final URI url

prefix

protected final String prefix

marker

protected final String marker

maxResults

protected final Integer maxResults

nextMarker

protected final String nextMarker
Constructor Detail

BoundedHashSet

public BoundedHashSet(Iterable<T> contents,
                      URI url,
                      String prefix,
                      String marker,
                      Integer maxResults,
                      String nextMarker)
Method Detail

getPrefix

public String getPrefix()
Specified by:
getPrefix in interface BoundedSet<T>

getMarker

public String getMarker()
Specified by:
getMarker in interface BoundedSet<T>

getMaxResults

public int getMaxResults()
Specified by:
getMaxResults in interface BoundedSet<T>

getNextMarker

public String getNextMarker()
Specified by:
getNextMarker in interface BoundedSet<T>

getUrl

public URI getUrl()
Specified by:
getUrl in interface BoundedSet<T>


Copyright © 2009-2012 jclouds. All Rights Reserved.