Sets the z-value for this layer to the inputed value.
        
        :param      zValue | <int>
        
        :return     <bool> changed
15003
def setZValue(self, zValue):
        
        if zValue == self._zValue:
            return False
        
        self._zValue = zValue
        self.sync()
        return True
669806
def setvalue(self, value):
		
		self._value = abs(value)
		self._sign = 0
		if(value < 0):
			self._sign = 1
303298
def updateCurrentValue(self, value):
        
        try:
            method = getattr(self._targetObject, self._setter)
        except AttributeError:
            return
        
        try:
            method(unwrapVariant(value))
        except:
            return
1118189
public T set(final T newValue) {
        if(continuous!=null)
         continuous.offer(newValue);

        setDiscreteIfDiff(newValue);
        return newValue;
    }
1219041
def set_value(self, format, *args):
        
        return lib.zconfig_set_value(self._as_parameter_, format, *args)
606926
public void setValue(Vector3f pos) {
        mX = pos.x;
        mY = pos.y;
        mZ = pos.z;
    }
330585
def setValue(self, key, value):
        
        parts = nativestring(key).split('/')
        curr = self._xstack[-1]
        for part in parts[:-1]:
            next = curr.find(part)
            if next is None:
                next = ElementTree.SubElement(curr, part)
            curr = next
        
        xval = curr.find(parts[-1])
        if xval is None:
            xval = ElementTree.SubElement(curr, parts[-1])
        
        self.storeValue(xval, value)
631030
def setField(self, new_value):
        
        self.field_strength = self.field_strength._replace(
            val=new_value
        )
240073
def SetValue(self, identifier, value):
    
    if not isinstance(identifier, py2to3.STRING_TYPES):
      raise TypeError('Identifier not a string type.')

    identifier = identifier.lower()
    self._values[identifier] = value
319210
public final void set(int i, int newValue) {
        if (fullWidth) {
            array.set(i, newValue);
            return;
        }

        boolean success = false;
        int index = getIndex(i);
        int subIndex = getSubIndex(i);
        while (!success) {
            int prev = array.get(index);
            int next = pack(prev, newValue, subIndex);
            success = array.compareAndSet(index, prev, next);
        }
    }
983444
def set(self, value):
        
        old_value = self._value
        old_raw_str_value = self.raw_str_value

        self.type.set_item_value(self, value)

        new_value = self._value

        if old_value is not_set and new_value is not_set:
            # Nothing to report
            return

        if self.section:
            self.section.dispatch_event(
                self.section.hooks.item_value_changed,
                item=self,
                old_value=old_value,
                new_value=new_value,
                old_raw_str_value=old_raw_str_value,
                new_raw_str_value=self.raw_str_value
            )
705952
public void setValue(String constantValue)
    {
        this.fieldSource = SOURCE_VALUE;
        this.fieldRefName = null;
        this.returnedByProcedure = false;
        this.constantValue = constantValue;
    }
237386
function setValue(descriptor,key,set,update)
        {
          var _descriptor = descriptor,
              _key = key,
              _set = set,
              _update = update,
              _oldValue;
          return function valueSet(v)
          {
            _oldValue = _descriptor.value;
            if(_set(this,_key,v,_oldValue,arguments,this._stopChange))
            {
              _descriptor.value = v;
            }
            if(!this._stopChange)
            {
              _update(this,_key,v,_oldValue,arguments);
            }
            this._stopChange = undefined;
          }
        }
1072110
def set_option_value(self, name, value):
		
		option = self.get_option(name)
		old_value = option.value
		if option.type in ('str', 'rfile'):
			option.value = value
		elif option.type == 'int':
			value = value.lower()
			if not value.isdigit():
				if value.startswith('0x') and string_is_hex(value[2:]):
					value = int(value[2:], 16)
				else:
					raise TypeError('invalid value type')
			option.value = int(value)
		elif option.type == 'flt':
			if value.count('.') > 1:
				raise TypeError('invalid value type')
			if not value.replace('.', '').isdigit():
				raise TypeError('invalid value type')
			option.value = float(value)
		elif option.type == 'bool':
			if value.lower() in ['true', '1', 'on']:
				option.value = True
			elif value.lower() in ['false', '0', 'off']:
				option.value = False
			else:
				raise TypeError('invalid value type')
		else:
			raise Exception('unknown value type')
		if option.callback and not option.callback(value, old_value):
			option.value = old_value
			return False
		return True
865569
def set_cell_value(cell, value):
    
    if OPENPYXL_MAJOR_VERSION > 1:
        cell.value = value
    else:
        cell.internal_value = value
745216
def setValue(self, value):
        
        self.__value = projex.text.decoded(value) if isinstance(value, (str, unicode)) else value
215965
def set_comparison(self):
        
        self.comp1 = self.zvals[0]
        self.comp2 = self.zvals[1]
        return