Adding on the discussion: What is the significance of load factor in HashMap?
If i am using org.apache.commons.collections.map.LRUMap will the size of the LRUMap increase once it reaches the max size.
If i instantiated LRUMap
maxSize= 1024
LRUMap myCacheMap = new LRUMap(maxSize)
if the myCacheMap reaches the 1024th key value pair or entry and if i added another element will it increase to 2048 automatically. If it increases automatically, then why do we have the isFull() method for it. As it will never be Full it will automatically increase. Am I missing a point in this. Sorry for asking two questions in one.
Thanks in advance.