Pathway/iTS Web Client Programming Manual (G06.24+)
Java Import Package Reference
Compaq NonStop Pathway/iTS Web Client Programming Manual—520270-001
6-58
Class Pic9
Parameters
Method getValue
Syntax
public long getValue()
Description
If the object is non-computational, the byte contents must be ASCII 0 through ASCII 9
(except for the sign byte).
Return Value
Returns the numeric value stored in the object.
Method isEqualTo (double data)
Syntax
public boolean isEqualTo (double data)
Description
Equivalent to the SCREEN COBOL relation condition ws-item-1 IS [NOT]
EQUAL [TO] noninteger-numeric-literal, where ws-item-1 is a PIC 9
identifier.
Parameters
Return Value
Returns TRUE if the value of this object is [not] equal to data, or FALSE otherwise.
Method isEqualTo (long data)
Syntax
public boolean isEqualTo (long data)
Description
Equivalent to the SCREEN COBOL relation condition ws-item-1 IS [NOT]
EQUAL [TO] integer-numeric-literal, where ws-item-1 is a PIC 9
identifier.
data
The byte array whose contents will be the new value of this object.
The length of the array must be greater than or equal to
getHostLength().
data
The value to be compared with the value of this object