, , , . . , : , Result. Result , , - . , , JVM ( , resultList [12]?), . , , (- ), , (- ). , .
, , .
, , - , , , , . , :
public Object[] getCustomerData(int customerid)
{
String customerName=... however you get it ...
BigDecimal currentDue=...
BigDecimal pastDue=...
return new Object[] {customerName, pastDue, currentDue};
}
... meanwhile, back at the ranch ...
Object[] customerData=getCustomerData(customerid);
BigDecimal pastDue=(BigDecimal)customerData[2];
if (pastDue>0)
sendNastyCollectionLetter();
? №2 lastDue, # 1. , , , , . , # 14, # 15. , . , . .
, , - - , , . , , , , . , . , , , , .. ..