Code example for SetMultimap

Methods: putAll

0
    protected Void execute(SetMultimap<String, Field.FieldType> map) {
        if (map == null) { 
            map = HashMultimap.create();
 
            final AdvancedCache<String, SetMultimap<String, Field.FieldType>> ac = getCache().getAdvancedCache();
            ac.put(schemaName, map); 
        } 
        map.putAll(fields); 
 
        return null; 
    } 
}