Code example for Collection

Methods: addAllclear

0
        return controls; 
    } 
 
    public void setControls(Collection<Control> controls) { 
        if (this.controls == controls) return; 
        this.controls.clear(); 
        if (controls != null) this.controls.addAll(controls); 
    } 
}