I have a general question about HashMaps vs. ArrayLists.
Ian a project I am working on I am scanning a barcode from a ticket, like entering a ballpark or concert.
As part of this scan there is also static information that the user has pre-selected, like userName, location. I also capture the Date and time of when the barcode is scanned. So I end up with a record consisting of Date/Time, userName,location,barcode scanned.
I need to store this information for 100 to 200 scans, then at the end of the day, convert this to a JSON object.
I am a bit confused on how to store this data. Can someone give me some pointers on this? I have googled it but am still confused.
Thanks much!