Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.2
-
None
Description
In the apidoc or source of org.apache.commons.collections.map.AbstractLinkedMap.firstKey(), it is said that this method "Gets the first key in the map, which is the most recently inserted.", which is exactly the actual behavior of lastKey(), and vice versa.
So I think there is a typo with this class' javadoc.
Attachments
Issue Links
- is duplicated by
-
COLLECTIONS-279 LRUMap: moveToMRU is not invoked for new entry
- Closed
-
COLLECTIONS-353 AbstractLinkedMap firstKey/lastKey JavaDoc reversed
- Closed