Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
Description
ContainerSet#listContainer has this code:
map = containerMap.tailMap(containerMap.firstKey(), true);
This is equivalent to:
map = containerMap;
since tailMap is a sub-map with all keys larger than or equal to (inclusive=true) firstKey, which is the lowest key in the map. So it is a sub-map with all keys, ie. the whole map.
Attachments
Issue Links
- links to