57585960616263646566
List<BucketKey> keys = new ArrayList<BucketKey>(); Bucket b = client.fetchBucket(bucket).execute(); for (String key : b.keys()) { keys.add(new BucketKey(bucket, key)); } return keys; }
5556575859606162
* a common bucket the keys share */ public KeysKeyLister(Collection<String> keys, String bucket) { this.keys = new HashSet<BucketKey>(); for (String k : keys) { this.keys.add(new BucketKey(bucket, k)); } }
9192939495969798
this.keys = new HashSet<BucketKey>(); String[] bks = initString.split(ENTRY_SEPARATOR); for (String bk : bks) { String[] bucketKey = bk.split(BK_SEPARATOR); keys.add(new BucketKey(bucketKey[0], bucketKey[1])); } }