Code example for ImmutableSet.Builder

Methods: add

0
         inSubnetSet = false;
      } else if (equalsOrSuffix(qName, "tagSet")) {
         inTagSet = false;
         subnetHandler.endElement(uri, name, qName);
      } else if (equalsOrSuffix(qName, "item") && !inTagSet) {
         subnets.add(subnetHandler.getResult());
      } else if (inSubnetSet) {
         subnetHandler.endElement(uri, name, qName);
      } 
 
      currentText.setLength(0);
   } 
 
   @Override 
   public void characters(char ch[], int start, int length) {
      if (inSubnetSet) {
         subnetHandler.characters(ch, start, length);
      } else { 
         currentText.append(ch, start, length);
      } 
Contextual code suggestions in your IDE  Get Codota for Java