I have a card declared as follows -
Map<Date, Long[]> myMap = new TreeMap<Date, Long[]>();
I put a few key-value pairs in this card, check the size as follows -
myMap.size(); //returns 29 myMap.values().size(); //returns 31
All dates (keys) are different.
Shouldn't these two return the same value?
Bhesh gurung
source share