Usecase maintain a list of the last n visited URLs (where n is a fix number). As new URLs are added to the list, older urls are removed automatically (in order to keep it at n elements)
Requirement The data structure needs to be sorted by time (should be no problem if it accepts a Comparator).