forked from netty/netty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add back IntObjectMap.values(Class<V>)
Motivation: Although the new IntObjectMap.values() that returns Collection is useful, the removed values(Class<V>) that returns an array is also useful. It's also good for backward compatibility. Modifications: - Add IntObjectMap.values(Class<V>) back - Miscellaneous improvements - Cache the collection returned by IntObjectHashMap.values() - Inspector warnings - Update the IntObjectHashMapTest to test both values() Result: - Backward compatibility - Potential performance improvement of values()
- Loading branch information
Showing
4 changed files
with
90 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters