Clear all the fields to their default values.
491500
public void resetFields()
    {
        super.resetFields();
        for (int iRow = 0; iRow < m_vComponentCache.size(); iRow++)
        {
            ComponentCache componentCache = (ComponentCache)m_vComponentCache.elementAt(iRow);
            if (componentCache != null)
            {
                for (int iColumnIndex = 0; iColumnIndex < componentCache.m_rgcompoments.length; iColumnIndex++)
                {
                    if (componentCache.m_rgcompoments[iColumnIndex] != null)
                    {
                        if (componentCache.m_rgcompoments[iColumnIndex] instanceof JTextComponent)
                            ((JTextComponent)componentCache.m_rgcompoments[iColumnIndex]).setText("");
                        else if (componentCache.m_rgcompoments[iColumnIndex] instanceof JCheckBox)
                            ((JCheckBox)componentCache.m_rgcompoments[iColumnIndex]).setSelected(false);
                    }
                }
            }
        }
    }
1264027
public function clear()
    {
        if (is_array($this->temp_properties)) {
            foreach ($this->temp_properties as $key => $value) {
                if (property_exists($this, $key)) {
                    $this->$key = $value;
                }
            }
            unset($key, $value);

            $this->temp_properties = null;
        }
    }
263101
protected function clear()
    {
        $this->sql      = null;
        $this->start    = null;
        $this->from     = null;
        $this->join     = null;
        $this->set      = null;
        $this->where    = null;
        $this->groupby  = null;
        $this->orderby  = null;
        $this->limit    = null;
        $this->offset   = null;
    }
290745
public void clear()
  {
    _nullValue = NULL;
    
    for (int i = 0; i < _values.length; i++) {
      _keys[i] = null;
      _flags[i] = 0;
      _values[i] = 0;
    }
    
    _size = 0;
  }
316227
public void clear() {
		names.clear();
		values = null;
		valueType.clear();
		args.clear();
		whereArgs.clear();
		compiledStatement = null;
		compiledStatementBindIndex = 1;

	}
1096967
protected function _clear_var()
    {
        $this->field    = array();
        $this->limit    = '';
        $this->skip     = '';
        $this->where    = array();
        $this->orderby  = array();
        $this->data         = array();
    }
1150263
def clear(self):
        """"""

        if self.default_value is None:
            self.current_value = bytearray()
        else:
            self.current_value = bytearray(self.default_value)
864351
public function clearProperties(): void
    {
        foreach ($this as $property => $value) {
            if (!Str::startsWith('_', $property)) {
                $this->{$property} = null;
            }
        }
    }
1235958
public function clear()
	{
		foreach( $GLOBALS[$this->poolKey] as $key => $value )
			unset( $GLOBALS[$this->poolKey][$key] );
	}
848312
protected void resetAllValues() {
        logic = new FilterFieldStringData(CommonFilterConstants.LOGIC_FILTER_VAR, CommonFilterConstants.LOGIC_FILTER_VAR_DESC);

        filterVars.clear();
        filterVars.add(logic);
    }
789979
public function clear(){
			$this->setFields('');
			$this->setSet('');
			$this->setLimit('');
			$this->setWhere('');
			$this->setOrderBy('');
			$this->setGroupBy('');
			$this->setRecords('');
			$this->setQuery('');
		}
559504
public void clear() {
        int n = mSize;
        Object[] values = mValues;

        for (int i = 0; i < n; i++) {
            values[i] = null;
        }

        mSize = 0;
        mGarbage = false;
    }
717114
def clear_modified_data(self):
        
        self.__modified_data__ = {}
        self.__deleted_fields__ = []

        for value in self.__original_data__.values():
            try:
                value.clear_modified_data()
            except AttributeError:
                pass
853998
def clear_data(self):
        """"""
        self.tab = None
        self.cols = []
        self._idx = []
        self.x_col = ''
        self.y_col = ''
        self.w.xcombo.clear()
        self.w.ycombo.clear()
        self.w.x_lo.set_text('')
        self.w.x_hi.set_text('')
        self.w.y_lo.set_text('')
        self.w.y_hi.set_text('')
1246609
public void clearValues(String fieldName) {
        Utils.require(!Utils.isEmpty(fieldName), "fieldName");
        m_valueMap.remove(fieldName);
        m_valueRemoveMap.remove(fieldName);
    }
422278
public void clear()
    {
        _exactMap=new StringMap();
        _prefixMap=new StringMap();
        _suffixMap=new StringMap();
        _default=null;
        _defaultSingletonList=null;
        super.clear();
    }
38363
public function clear()
    {
        $this->id = null;
        $this->active = null;
        $this->filtertype = null;
        $this->code = null;
        $this->alreadyInSave = false;
        $this->clearAllReferences();
        $this->applyDefaultValues();
        $this->resetModified();
        $this->setNew(true);
        $this->setDeleted(false);
    }