beautypg.com

Setdouble, Setfloat, Setint – HP NonStop G-Series User Manual

Page 103: Setshort

background image

setDouble

Sets the double precision value of a specified item.

void setDouble( String name, double value );

Usage Sets the value of the item specified in the name parameter to the double precision value specified in the value
parameter. The value is in 64-bits.

Throws

java.lang.IllegalAccessError.

Occurs when the user tries to set a value to a get-only attribute, or to get a value from a set-only attribute.

java.lang.NoSuchFieldError.

Occurs when the user tries to set an attribute which is not one of the predefined attributes.

setFloat

Sets the floating point value of a specified item.

void setFloat( String name, float value );

Usage Sets the value of the item specified in the name parameter to the floating point (32-bit) value specified in the value
parameter.

Throws

java.lang.IllegalAccessError.

Occurs when the user tries to set a value to a get-only attribute, or to get a value from a set-only attribute.

java.lang.NoSuchFieldError.

Occurs when the user tries to set an attribute which is not one of the predefined attributes.

setInt

Sets the integer value of a specified item.

void setInt( String name, int value );

Usage Sets the value of the item specified in the name parameter to the integer (32-bit) value specified in the value
parameter.

Throws

java.lang.IllegalAccessError.

Occurs when the user tries to set a value to a get-only attribute, or to get a value from a set-only attribute.

java.lang.NoSuchFieldError.

Occurs when the user tries to set an attribute which is not one of the predefined attributes.

setShort

Sets the short integer value of a specified item.

void setShort( String name, short value );