I have a defined group of 5 Parkings. I receive from a poll server every 20 seconds new values of these parkings(Id, Number of available places, etc)
I am wondering which java collection, in terms of performance and "best practices" allows me to keep only my 5 parkings at a time and not having duplicated parkings and then to retrieve a parking by Id.
Thanks in advance.