Code example for ImmutableSet.Builder

Methods: add

0
   } 
 
   @Override 
   protected void inItem() { 
      if (endOfReservationItem()) { 
         reservations.add(super.newReservation());
      } else { 
         super.inItem(); 
      } 
   } 
 
   protected boolean endOfInstanceItem() { 
      return itemDepth == 2 && inInstancesSet; 
   } 
} 
Experience pair programming with AI  Get Codota for Java