- I just read a article about wastage of Collections.
- Every time in our Google search we always try to find how to create a ArrayList, Hashmap, TreeMap and etc.
- But it is rare that we search for how not to create one. So Whenever creating array it is must you should declare the size of the collections.
- Because empty collections in underlying structure ( empty arrays) will be created and it will hit your application performance a lot.
- The point her it is that you must declare the size of the collection to avoid collection wastage's.
Friday, 14 February 2014
Java Collections Framework
Labels:
bank,
credit card,
java,
Moto g,
statement
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment