Code example for Set

Methods: addAll

0
    public void setEvents(Iterable<?> events) {
        this.events = toEnumSet(TestLogEvent.class, events);
    } 
 
    public void events(Object... events) { 
        this.events.addAll(toEnumSet(TestLogEvent.class, events));
    } 
 
    public int getMinGranularity() { 
        return minGranularity;
    } 
 
    public void setMinGranularity(int granularity) {
        minGranularity = granularity;
    } 
 
    public int getMaxGranularity() { 
        return maxGranularity;
    }