Clear the current contents.
177872
public void clear() {
    logpane.clear();
    synchronized(pbarmap) {
      for(Entry<Progress, JProgressBar> ent : pbarmap.entrySet()) {
        super.remove(ent.getValue());
        pbarmap.remove(ent.getKey());
      }
    }
  }
589472
def clear_content(self):
        
        for child in self[:]:
            if child.tag == qn('w:pPr'):
                continue
            self.remove(child)
249496
def clear(self):
        
        layout = self._entryWidget.layout()
        for i in range(layout.count() - 1):
            widget = layout.itemAt(i).widget()
            widget.close()
861162
def clear(self):
        ''
        for track in self._tracks:
            self._tracks[track].setall(False)
1312419
def clear(self):
        """"""
        if len(self.list):
            self._LOG.debug("List cleared.")
        self.list.clear()
894102
def clear(self):
        """"""
        self._functions=[]
        self._args=[]
        self._kwargs=[]
        self._kind=[]
539569
public void clear() {

        if (m_originalItems != null) {
            m_originalItems.clear();
        }
        m_filteredItems = null;
        synchronized (this) {
            if (m_visibleItems != null) {
                m_visibleItems.clear();
            }
        }
        setSearchFilter("");
        m_sortedColumn = null;
    }
455544
def clear_content(self):
        
        content_child_elms = self[1:] if self.rPr is not None else self[:]
        for child in content_child_elms:
            self.remove(child)
353542
def clear(self):
        

        if self._formats:
            for fmt in self._formats:
                fmt.clear()
        self._formats = None
24145
public function clear()
    {
        foreach ($this->items as $item) {
            $this->deleted[] = $item;
        }

        $this->items = [];
    }
152731
public function clear() {
        $this->header = array();
        $this->cookies = array();
        $this->files = array();
        $this->statusCode = null;
        $this->statusDescription = null;
        $this->output = '';

        if (ob_get_length() > 0) { 
            ob_clean(); 
        }
    }
1113507
public void clear() {
        this.contentType = null;
        this.encoding = null;
        this.locale = null;
        this.outStream = null;
        this.outWriter = null;
        this.streamActive = false;
    }
860196
def clear(self):
        """"""
        for k in list(self.keys()):
            if k not in self.extrakeys:
                del self[k]
60158
def clearData(self):
        """"""
        self._counts = np.zeros_like(self._bins)
        self.histo.setOpts(height=self._counts)
177751
public void clear() {
        _file_mode = false;
        _write_pos = 0;
        _read_pos = 0;
        _window_low = 0;
        _window_high = _window_size;
        _file_high = 0;
        _mark_pos = 0;
    }
739978
public function clear()
    {
        if ($this->childNodes->length > 0) {
            foreach ($this->childNodes as $childNode) {
                $this->removeChild($childNode);
            }
        }

        $this->textContent = null;
    }
819903
public void clear() {
        List<?> items = getChildren();
        
        for (int i = items.size() - 1; i >= 0; i--) {
            if (items.get(i) != customItem) {
                items.remove(i);
            }
        }
    }