java.util.SortedSet



API Populatity

122 Client projects

Project: java

Package: java.util

Project apache/cassandra in file .../src.java.org.apache.cassandra.io.IFileReader.java (2009-07-10)
@@ -20,6 +20,7 @@ package org.apache.cassandra.io;
 
 import java.io.IOException;
 import java.util.List;
+import java.util.SortedSet;
 
 /**
  * Interface to read from the SequenceFile abstraction.
@@ -78,7 +79,7 @@ public interface IFileReader
      * @return number of bytes read.
      *
     */
-    public long next(String key, DataOutputBuffer bufOut, String columnFamilyName, List<String> columnNames, IndexHelper.TimeRange timeRange, long position) throws IOException;
+    public long next(String key, DataOutputBuffer bufOut, String columnFamilyName, SortedSet<String> columnNames, IndexHelper.TimeRange timeRange, long position) throws IOException;
 
     /**
      * Close the file after reading.
Project jclouds/jclouds in file ...clouds.vcloud.terremark.TerremarkVCloudClient.java (2009-12-10)
@@ -24,6 +24,7 @@
 package org.jclouds.vcloud.terremark;
 
 import java.net.InetAddress;
+import java.util.SortedSet;
 import java.util.concurrent.TimeUnit;
 
 import org.jclouds.concurrent.Timeout;
@@ -69,4 +70,8 @@ public interface TerremarkVCloudClient extends VCloudClient {
    @Override
    TerremarkVApp getVApp(String vAppId);
 
+   SortedSet<InternetService> getAllInternetServices();
+
+   SortedSet<Node> getNodes(String internetServiceId);
+
 }
Project jclouds/jclouds in file ...va.org.jclouds.aws.s3.jets3t.JCloudsS3Service.java (2009-10-03)
@@ -29,6 +29,7 @@ import java.util.Calendar;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
+import java.util.SortedSet;
 import java.util.concurrent.TimeUnit;
 
 import org.jclouds.aws.s3.S3BlobStore;
@@ -264,7 +265,7 @@ public class JCloudsS3Service extends S3Service {
    @Override
    protected S3Bucket[] listAllBucketsImpl() throws S3ServiceException {
       try {
-         List<org.jclouds.aws.s3.domain.BucketMetadata> jcBucketList = connection.listContainers();
+         SortedSet<org.jclouds.aws.s3.domain.BucketMetadata> jcBucketList = connection.listContainers();
          return Util.convertBuckets(jcBucketList);
       } catch (Exception e) {
          Utils.<S3ServiceException> rethrowIfRuntimeOrSameType(e);