Code example for ImmutableSet.Builder

Methods: add

0
   } 
 
   @Override 
   public void endElement(String uri, String localName, String qName) {
      if (equalsOrSuffix(qName, "DataCenter")) {
         dataCenters.add(handler.getResult());
      } else { 
         handler.endElement(uri, localName, qName);
      } 
   } 
 
   @Override 
   public void characters(char ch[], int start, int length) {
      handler.characters(ch, start, length);
   } 
 
}