equals()

Compare another business object array with this one.

Syntax

boolean equals(BusObjArray inputBusObjArray)
 

Parameters

inputBusObjArray
A business object array to compare with this business object array.

Notes

The comparison between the two business object arrays checks the number of elements and their attribute values.

Examples

The following example uses equals() to set up a conditional loop, the inside of which is not shown.

if (items.equals(newItems)) 
    {
 ...
    }
 

Copyright IBM Corp. 2003