Description
According to the Javadoc on AbstractLinkedMap#firstKey and AbstractLinkedMap#lastKey the following test shouldn't fail:
LinkedMap map = new LinkedMap();
map.put("one", "one");
map.put("two", "two");
assertEquals("one", map.lastKey());
assertEquals("two", map.firstKey());
Attachments
Issue Links
- duplicates
-
COLLECTIONS-262 probably apidoc error: firstKey() and lastKey() in AbstractLinkedMap
- Closed