toString()

Retrieve the values in this business object array as a single string.

Syntax

String toString()
 

Examples

The following example uses toString() to retrieve the contents of the items business object array and then uses logInfo() to write the contents to the log file.

logInfo(items.toString()); 
 
 

Copyright IBM Corp. 1997, 2003