File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Joined: May 08, 2006
May 30, 2012 01:24:31
Vector class in
has capacity method. My question is why it is not in any generic class like
so that any collection class can call that method to check current capacity?
Joined: Aug 22, 2010
May 30, 2012 01:29:22
Not all collection implementations have a capacity. A
, for example, hasn't.
I agree. Here's the link:
subject: capacity method
the capacity() method
Local Inner Class: Quick Question.
BigDecimal nextProbablePrime(). HashMap initial capacity
capacity of a stringbuffer
ArrayList vs Vector Size and Capacity difference ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015