ArrayList print capacity

임민수 godmlzkf1 at naver.com
Sun May 11 08:21:21 UTC 2025


Hi

It seems that there is no code to print Capacity in ArrayList.

Vector, a friend of ArrayList, can be printed through capacity().

I want to add code to print Capacity of ArrayList as elementData.length.

Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20250511/ee06176e/attachment.htm>


More information about the core-libs-dev mailing list