Top
NetCOBOL V11.0 J Adapter Class GeneratorUser's Guide
FUJITSU Software

5.2.3 J-EQUALS Method (object method)

Explanation

This method checks whether the Java objects indicated by two adapter objects are equal.

Syntax

INVOKE object-1 "J-EQUALS" USING object-2 RETURNING result

Parameter and return value

object-1, object-2 (attribute: OBJECT REFERENCE FJ-JAVA-BASE)

Specifies the adapter objects to be compared.

result (attribute: PIC 1)

Returns B'1' if a match occurs; otherwise, returns B'0'.