Re: ArrayList print capacity

2025-05-11 Thread Remi Forax
as a user, you can always use a List as parameter of a public method instead of an ArrayList. regards, Rémi > From: "임민수" > To: "core-libs-dev" > Sent: Sunday, May 11, 2025 10:21:21 AM > Subject: ArrayList print capacity > Hi > It seems that there is

ArrayList print capacity

2025-05-11 Thread 임민수
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.