Results 1 to 4 of 4
Thread: help for collection api
- 02-22-2010, 12:48 PM #1
- 02-22-2010, 12:51 PM #2
Senior Member
- Join Date
- Jun 2008
- Posts
- 2,366
- Rep Power
- 7
- 02-24-2010, 11:04 AM #3
Member
- Join Date
- Feb 2010
- Posts
- 1
- Rep Power
- 0
hi
in collections we have vector whose initial capacity will be set to 10 by default.
then if we dont need to add 10 elements,we will add only 5 elements,then remaining 5 units of memory will be wasted? wat happens to that remaining 5 cells of memory?
-thanks
- 02-24-2010, 11:52 AM #4
Senior Member
- Join Date
- Jun 2008
- Posts
- 2,366
- Rep Power
- 7
Similar Threads
-
collection framework
By swati.jyoti in forum New To JavaReplies: 8Last Post: 09-01-2009, 03:45 PM -
Collection Types
By DavidG24 in forum New To JavaReplies: 2Last Post: 04-18-2009, 05:03 PM -
Collection of Enum
By Aldebaranl2 in forum Enterprise JavaBeans (EJB)Replies: 0Last Post: 12-04-2008, 07:49 AM -
How to get NamingEnumeration from my collection?
By hencre in forum Advanced JavaReplies: 1Last Post: 10-18-2008, 08:01 PM -
Collection - java
By Moonlightkid in forum Advanced JavaReplies: 3Last Post: 09-02-2008, 05:04 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks