Code example for Set

Methods: addAll

0
		this.roleName = roleName;
	} 
 
	@Override 
	public Set<String> addMapping(String... urlPatterns) {
		mappings.addAll(Arrays.asList(urlPatterns));
		return mappings;
	} 
 
	@Override 
	public Collection<String> getMappings() {
		return mappings;
	} 
 
	@Override 
	public String getRunAsRole() {
		return roleName;
	} 
 
	@Override 
Contextual code suggestions in your IDE  Get Codota for Java