Originally posted by joseph cooper:
I am trying to compare the element sequenceNumber from the client record of the arraylist clientList to each of the elements sequenceNumber from the policy record of the arraylist policyList.
This is not correct code.
//cr is the client record
//pr is the policy record
for(int index=0; index<clientList.size(); index++)
{
for(int i=0; i<policyList.size(); i++)
{
if (clientList[index].get(Integer.parseInt(cr.sequenceNumber)).equals(policyList[i].get(Integer.parseInt(pr.sequenceNumber))))
{
/* do some work if they match*/
} //if
} //for - policy
} //for - client