Monday, 25 April 2016
Why TreeMap does not allow an initial size ?
Why TreeMap does not allow an initial size ?
On adding new ones, s
ize of the
TreeMap
dynamically increases if needed,
without shuffling the internals
-
Unlike, HashMap
So, there is no point
to have initial size of the
TreeMap.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: only a member of this blog may post a comment.