I have an ArrayList
"Weekly Payroll" that contains a week worth of shift details (monday through sunday) the shift details are also an ArrayList
which contains the list of employees worked that day.
Now I have to compute weekly payroll based on the variables which the Employee class contains.
My question is (and hopefully I'm being clear): is there a way to go through cascading Collections
to reach a specific object by defining a path like XPath for XML?