Code example for ImmutableSet.Builder

Methods: build

0
   } 
 
   public ListBucketResponse getResult() { 
      return new ListBucketResponseImpl(bucketName, contents.build(), prefix, marker,
               (isTruncated && nextMarker == null) ? currentKey : nextMarker, maxResults, delimiter, isTruncated,
               commonPrefixes.build());
   } 
 
   private boolean inCommonPrefixes;
   private String currentKey;
   private String nextMarker;
 
   public void startElement(String uri, String name, String qName, Attributes attrs) {
      if (qName.equals("CommonPrefixes")) {
         inCommonPrefixes = true;
      } 
   } 
 
   public void endElement(String uri, String name, String qName) {
      if (qName.equals("ID")) {