/** * Set the new value, clearing the old value array. * * @param newValue * if not null, the array is copied. */ public void setValue(char[] newValue) { clear(); if (newValue != null) { value = new char[newValue.length]; System.arraycopy(newValue, 0, value, 0, newValue.length); } }
/** * Set the new value, clearing the old value array. * * @param newValue * if not null, the array is copied. */ public void setValue(char[] newValue) { clear(); if (newValue != null) { value = new char[newValue.length]; System.arraycopy(newValue, 0, value, 0, newValue.length); } }
/** * Set the new value, clearing the old value array. * * @param newValue * if not null, the array is copied. */ public void setValue(char[] newValue) { clear(); if (newValue != null) { value = new char[newValue.length]; System.arraycopy(newValue, 0, value, 0, newValue.length); } }
/** * Set the new value, clearing the old value array. * * @param newValue * the new internal array. The array is <b>NOT</b> copied. */ public void setValueNoCopy(char[] newValue) { clear(); value = newValue; } }
/** * Set the new value, clearing the old value array. * * @param newValue * the new internal array. The array is <b>NOT</b> copied. */ public void setValueNoCopy(char[] newValue) { clear(); value = newValue; } }
/** * Set the new value, clearing the old value array. * * @param newValue * the new internal array. The array is <b>NOT</b> copied. */ public void setValueNoCopy(char[] newValue) { clear(); value = newValue; } }