size()

Return the number of elements in this business object array.

Syntax

int size()
 

Notes

Like all Java arrays, BusObjArray is a zero relative array. This means that the size() method will return 1 greater than the getLastIndex() method.

Examples

The following example returns the number of elements in the array items.

int size = items.size(); 
 

Copyright IBM Corp. 2003