Code example for Collection

Methods: remove

0
    public void addControl(Control control) {
        controls.add(control);
    } 
 
    public void removeControl(Control control) {
        controls.remove(control);
    } 
 
    public void setControls(Collection<Control> controls) {
        this.controls.clear();
        if (controls == null) return;
        this.controls.addAll(controls);
    } 
 
    public Collection<Control> getControls() {
        return controls;
    } 
 
    public int hashCode() { 
        return controls.hashCode();
Contextual code suggestions in your IDE  Get Codota for Java