mirror of https://github.com/apache/jclouds.git
Use LinkedHashSet for BoundedHashSet
This allows enumerating Azure containers in the same order as the service provides. This more closely matches PageSet and the Atmos implementation of BoundedSet.
This commit is contained in:
parent
b7ab8b18a0
commit
fdec63fe47
|
@ -17,13 +17,13 @@
|
|||
package org.jclouds.azure.storage.domain.internal;
|
||||
|
||||
import java.net.URI;
|
||||
import java.util.HashSet;
|
||||
import java.util.LinkedHashSet;
|
||||
|
||||
import org.jclouds.azure.storage.domain.BoundedSet;
|
||||
|
||||
import com.google.common.collect.Iterables;
|
||||
|
||||
public class BoundedHashSet<T> extends HashSet<T> implements BoundedSet<T> {
|
||||
public class BoundedHashSet<T> extends LinkedHashSet<T> implements BoundedSet<T> {
|
||||
|
||||
protected final URI url;
|
||||
protected final String prefix;
|
||||
|
|
Loading…
Reference in New Issue