Code example for Set

Methods: addAll

0
            defaultStringMapping = map;
            return this;
        } 
 
        public Builder supportedStringMappings(Mapping... maps) {
            supportedMappings.addAll(Arrays.asList(maps));
            return this;
        } 
 
 
        public IndexFeatures build() { 
            return new IndexFeatures(supportsDocumentTTL, defaultStringMapping,
                    ImmutableSet.copyOf(supportedMappings));
        } 
 
 
    } 
 
} 
Experience pair programming with AI  Get Codota for Java