Hacker News new | ask | show | jobs
by jayd16 1325 days ago
C# has trim excess but I do t think Java does, ...just the two I checked.

https://learn.microsoft.com/en-us/dotnet/api/system.collecti...

1 comments

Java HashMap does not shrink.
Sorry that's a typo. don't*