This method was created in VisualAge.
@param newValue java.util.Hashtable
196046
protected void setCurrRowRef(QueryRow qr) throws JspCoreException {
        if (qr == null) {
            throw new JspCoreException(JspConstants.InvalidCurrRowRef);
        }
        this.currRowRef = qr;
    }
1340025
protected void setValue(int newPosition, T1[] values, int number,
      boolean currentExisting) {
    if (number > 0) {
      T1 valueSum = null;
      for (int i = 0; i < number; i++) {
        valueSum = (i == 0) ? values[i] : operations.add11(valueSum, values[i]);
      }
      if (currentExisting) {
        newBasicValueSumList[newPosition] = operations
            .add11(newBasicValueSumList[newPosition], valueSum);
        newBasicValueNList[newPosition] += number;
      } else {
        newBasicValueSumList[newPosition] = valueSum;
        newBasicValueNList[newPosition] = number;
      }
    }
  }
614701
public void setProperty(Object object, Object newValue) {
        MetaMethod setter = getSetter();
        if (setter == null) {
            if (field != null && !Modifier.isFinal(field.getModifiers())) {
                field.setProperty(object, newValue);
                return;
            }
            throw new GroovyRuntimeException("Cannot set read-only property: " + name);
        }
        newValue = DefaultTypeTransformation.castToType(newValue, getType());
        setter.invoke(object, new Object[]{newValue});
    }
665911
public void setLoginPasswd(String newValue)
    {
        
        if (newValue == null) {
            this.loginPasswd = null;
        }
        else {
            this.loginPasswd = newValue.trim();
        }
    }
356070
public boolean cas(T expected, T newValue) {
        try {
            lock.writeLock().lock();

            if (Objects.equals(value, expected)) {
                this.value = newValue;
                return true;
            } else
                return false;
        } finally {
            lock.writeLock().unlock();
        }
    }
805109
public void set1Value(int index, String newValue) {
        try {
            value.set( index, newValue );
        }
        catch (IndexOutOfBoundsException e) {
            Log.e(TAG, "X3D MFString set1Value(int index, ...) out of bounds." + e);
        }
        catch (Exception e) {
            Log.e(TAG, "X3D MFString set1Value(int index, ...)  exception " + e);
        }
    }
930777
public void setPositivePrefix (String newValue) {
        positivePrefix = newValue;
        posPrefixPattern = null;
        positivePrefixFieldPositions = null;
        fastPathCheckNeeded = true;
    }
1354109
private void newValueOnTOS() {
        IsNullValueFrame frame = getFrame();
        if (frame.getStackDepth() < 1) {
            return;
        }
        int tosSlot = frame.getNumSlots() - 1;
        IsNullValue tos = frame.getValue(tosSlot);
        if (tos.isDefinitelyNull()) {
            slotContainingNewNullValue = tosSlot;
        }
        if (trackValueNumbers) {
            try {
                ValueNumberFrame vnaFrameAfter = vnaDataflow.getFactAfterLocation(getLocation());
                if (vnaFrameAfter.isValid()) {
                    ValueNumber tosVN = vnaFrameAfter.getTopValue();
                    getFrame().setKnownValue(tosVN, tos);
                }
            } catch (DataflowAnalysisException e) {
                AnalysisContext.logError("error", e);
            }
        }
    }
876062
protected void setQueryString(String newValue) throws JspCoreException {
        if (newValue == null) {
            throw new JspCoreException(JspConstants.NullQueryString);
        }

        // fix query string i.e remove tabs and special characters
        // convert all whitespace to space
        int len = newValue.length();
        StringBuffer buff = new StringBuffer(len);
        for (int i = 0; i < len; i++) {
            char c = newValue.charAt(i);
            if (Character.isWhitespace(c)) {
                buff.append(" ");
            } // if
            else {
                buff.append(c);
            } //else
        } // for
        this.queryString = buff.toString().trim();
    }
198552
public int set(int i, int newValue) {
        while (true) {
            try {
                updateLock.lock();
                try {
                    return store.get().set(i, newValue);
                } finally {
                    updateLock.unlock();
                }
            } catch (PaletteFullException pfe) {
                resizeLock.lock();
                try {
                    try {
                        return store.get().set(i, newValue);
                    } catch (PaletteFullException pfe2) {
                        if (store.get().isPaletteMaxSize()) {
                            store.set(new AtomicShortIntDirectBackingArray(store.get()));
                        } else {
                            store.set(new AtomicShortIntPaletteBackingArray(store.get(), true));
                        }
                    }
                } finally {
                    resizeLock.unlock();
                }
            }
        }
    }
1064027
public void setValue(int size, int[] newValue) {
            try {
                for (int i = 0; i < size; i++) {
                    value.add(i, newValue[i]);
                    //value.set( i, newValue );
                }
            }
            catch (IndexOutOfBoundsException e) {
                Log.e(TAG, "X3D MFInt32 setValue(size,newValue[]) out of bounds." + e);
            }
            catch (Exception e) {
                Log.e(TAG, "X3D MFInt32 setValue(size, newValue[]) exception " + e);
            }
    }
652591
public static <T> Set<T> nullToEmptySet(Set<T> newValue) {
    if (newValue == null) {
      return new HashSet<>();
    }
    return newValue;
  }
1338132
protected void setValue(int newValue, boolean updateTextField, boolean firePropertyChange) {
		int oldValue = value;
		if (newValue < min) {
			value = min;
		} else if (newValue > max) {
			value = max;
		} else {
			value = newValue;
		}

		if (updateTextField) {
			textField.setText(Integer.toString(value));
			textField.setForeground(Color.black);
		}

		if (firePropertyChange) {
			firePropertyChange("value", oldValue, value);
		}
	}
1054704
public void push (final T newVal)
  {
    final int index = (int) (m_aCurrentIndex.incrementAndGet () % m_nMaxSize);
    m_aCircularArray[index].set (newVal);
  }
711019
public ModelNode set(final String newValue) {
        if (newValue == null) {
            throw new IllegalArgumentException("newValue is null");
        }
        checkProtect();
        value = new StringModelValue(newValue);
        return this;
    }
1117306
public void setNewVertexValue(VV newValue) {
		if (setNewVertexValueCalled) {
			throw new IllegalStateException("setNewVertexValue should only be called at most once per updateVertex");
		}
		setNewVertexValueCalled = true;
		if (isOptDegrees()) {
			outValWithDegrees.f1.f0 = newValue;
			outWithDegrees.collect(outValWithDegrees);
		} else {
			outVal.setValue(newValue);
			out.collect(outVal);
		}
	}
127266
public static void setPropertySafe2(Object newValue, Object object, String property) {
        if (object != null) {
            setProperty2(newValue, object, property);
        }
    }