@Override public Set<java.util.Map.Entry<String, V>> entrySet() { return ImmutableSet.copyOf(transform(list(), new Function<BlobMetadata, Map.Entry<String, V>>() { @Override public java.util.Map.Entry<String, V> apply(BlobMetadata from) { return new Entry(pathStripper.apply(from.getName())); } })); }
@Override public boolean isEmpty() { return size() == 0; }
protected Iterable<Blob> getAllBlobs() { Iterable<Blob> returnVal = getAllBlobs.execute(containerName, options); if (options != null) { for (Blob from : returnVal) stripPrefix(from); } return returnVal; }
protected Iterable<Blob> getAllBlobs() { Iterable<Blob> returnVal = getAllBlobs.execute(containerName, options); if (options != null) { for (Blob from : returnVal) stripPrefix(from); } return returnVal; }
@Override public Set<java.util.Map.Entry<String, V>> entrySet() { return ImmutableSet.copyOf(transform(list(), new Function<BlobMetadata, Map.Entry<String, V>>() { @Override public java.util.Map.Entry<String, V> apply(BlobMetadata from) { return new Entry(pathStripper.apply(from.getName())); } })); }
@Override public boolean isEmpty() { return size() == 0; }
@Override public Set<String> keySet() { return ImmutableSet.copyOf(transform(list(), new Function<BlobMetadata, String>() { @Override public String apply(BlobMetadata from) { return from.getName(); } })); }
@Override public Set<String> keySet() { return ImmutableSet.copyOf(transform(list(), new Function<BlobMetadata, String>() { @Override public String apply(BlobMetadata from) { return from.getName(); } })); }