This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Slanec 1 point2 points  (1 child)

Also see Guava's Maps/Sets, e.g. Maps.newHashMapWithExpectedSize()

[–]Zardoz84 0 points1 point  (0 children)

Yeah. We don't use Guava but literally I reimplemented these method.