public void setDoubleValue(double value) {if (!(fieldsData instanceof Double)) {throw new IllegalArgumentException("cannot change value type from " + fieldsData.getClass().getSimpleName() + " to Double");}fieldsData = Double.valueOf(value);}
public virtual void SetDoubleValue(double value){if (!(FieldsData is Double)){throw new System.ArgumentException("cannot change value type from " + FieldsData.GetType().Name + " to Double");}FieldsData = new Double(value);}