Code example for ImmutableSet.Builder

Methods: add

0
   } 
 
   @Override 
   public void endElement(String uri, String localName, String qName) throws SAXException {
      if (qName.equals("item")) {
         spots.add(spotHandler.getResult());
      } 
      spotHandler.endElement(uri, localName, qName);
   } 
 
   public void characters(char ch[], int start, int length) {
      spotHandler.characters(ch, start, length);
   } 
 
}