A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
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
ArrayList vs Vector Size and Capacity difference ?
capacity of a stringbuffer
the capacity() method
Local Inner Class: Quick Question.
BigDecimal nextProbablePrime(). HashMap initial capacity
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014