org.jclouds.azureblob.domain.internal
Class HashSetListBlobsResponse

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<BlobProperties>
                  extended by org.jclouds.azureblob.domain.internal.HashSetListBlobsResponse
All Implemented Interfaces:
Serializable, Cloneable, Iterable<BlobProperties>, Collection<BlobProperties>, Set<BlobProperties>, BoundedSet<BlobProperties>, ListBlobsResponse

public class HashSetListBlobsResponse
extends BoundedHashSet<BlobProperties>
implements ListBlobsResponse

Author:
Adrian Cole
See Also:
Serialized Form

Field Summary
protected  Set<String> blobPrefixes
           
protected  String delimiter
           
 
Fields inherited from class org.jclouds.azure.storage.domain.internal.BoundedHashSet
marker, maxResults, nextMarker, prefix, url
 
Constructor Summary
HashSetListBlobsResponse(Iterable<BlobProperties> contents, URI url, String prefix, String marker, Integer maxResults, String nextMarker, String delimiter, Iterable<String> blobPrefixes)
           
 
Method Summary
 boolean equals(Object obj)
           
 Set<String> getBlobPrefixes()
           
 String getDelimiter()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.jclouds.azure.storage.domain.internal.BoundedHashSet
getMarker, getMaxResults, getNextMarker, getPrefix, getUrl
 
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 org.jclouds.azure.storage.domain.BoundedSet
getMarker, getMaxResults, getNextMarker, getPrefix, getUrl
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Field Detail

delimiter

protected final String delimiter

blobPrefixes

protected final Set<String> blobPrefixes
Constructor Detail

HashSetListBlobsResponse

public HashSetListBlobsResponse(Iterable<BlobProperties> contents,
                                URI url,
                                String prefix,
                                String marker,
                                Integer maxResults,
                                String nextMarker,
                                String delimiter,
                                Iterable<String> blobPrefixes)
Method Detail

getDelimiter

public String getDelimiter()
Specified by:
getDelimiter in interface ListBlobsResponse

getBlobPrefixes

public Set<String> getBlobPrefixes()
Specified by:
getBlobPrefixes in interface ListBlobsResponse

hashCode

public int hashCode()
Specified by:
hashCode in interface Collection<BlobProperties>
Specified by:
hashCode in interface Set<BlobProperties>
Overrides:
hashCode in class AbstractSet<BlobProperties>

equals

public boolean equals(Object obj)
Specified by:
equals in interface Collection<BlobProperties>
Specified by:
equals in interface Set<BlobProperties>
Overrides:
equals in class AbstractSet<BlobProperties>

toString

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


Copyright © 2009-2011 jclouds. All Rights Reserved.