Code example for Collection

Methods: addAll

0
        ids.add(id);
    } 
     
    public ResourceNotFoundException(Collection<String> ids)
    { 
        ids.addAll(ids);
    } 
 
    public Set<String> getIds()
    { 
        return ids;
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java