Find what items in the store match the items in the list. Save this list as the best list of items so far
That is the line in the pseudocode that I need to translate into java code. I have two lists one called itemsNeeded and one called itemsFound. I need to see if the itemsNeeded list contains any items in the itemsFound list. Then I need to save that list. Can anyone demonstrate this?