Collections « Language « Java Articles

Java Articles
1. Class Definition
2. Data
3. Development
4. GUI
5. J2EE
6. J2ME
7. JavaBeans
8. Language
9. Microsoft Collabration
10. Network
11. Swing
12. System Resource
13. XML
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Java Articles » Language » Collections 
1. Secure type-safe collections
Author:Dr. Piet Jonas
URL:http://www.javaworld.com/javaworld/jw-04-2001/jw-0427-collections.html?
Summary: In this article, Piet Jonas demonstrates a framework that overcomes the standard Java Collections Framework's main problem: its containers lack the ability to restrict themselves to storing objects of a specific type. The solution uses reflection, wrapper classes, and a collection of static factory methods to easily add the type-safe property to the existing container interface implementations. (2,000 words)


2. Hashtables
Author:Tony Sintes
URL:http://www.javaworld.com/javaqa/2002-06/01-qa-0621-hashtable.html?
Summary: When you create your own key object in a Hashtable, be careful


3. Check out three collections libraries
Author:John Zukowski
URL:http://www.javaworld.com/javaworld/jw-11-2002/jw-1101-collections.html?
Summary: The Java Collections Framework has been a standard part of the Java core libraries since the Java 2 Platform's birth. We look at some recent changes and other options available, such as the Jakarta Commons Collections and the updated Java Generic Library (JGL) from Recursion Software that build off the Java Collections Framework. (2,500 words; November 1, 2002)


4. The battle of the container frameworks: which should you use?
Author:Laurence Vanhelsuwe
URL:http://www.javaworld.com/javaworld/jw-01-1999/jw-01-jglvscoll.html?
Summary: There's a quiet battle going on in Java land. Sun is introducing a brand new container framework into the Java 2 platform (formerly known as JDK 1.2), called the Collections Framework, which encroaches on territory currently held by ObjectSpace Inc.'s JGL -- The Generic Collection Library for Java. This article looks at both frameworks side by side to help you determine which option will best serve your needs.


5. Answers for LinkedList and outer/inner class questions
Author:Tony Sintes
URL:http://www.javaworld.com/javaworld/javaqa/2001-10/02-qa-1019-two.html?
Summary: Answers for LinkedList and outer/inner class questions


6. Vector or ArrayList -- which is better?
Author:Tony Sintes
URL:http://www.javaworld.com/javaworld/javaqa/2001-06/03-qa-0622-vector.html?
Summary: Find out the difference between Vector and ArrayList


7. Get started with the Java Collections Framework
Author:Dan Becker
URL:http://www.javaworld.com/javaworld/jw-11-1998/jw-11-collections.html?
Summary: Just when you thought you had Java well in hand, Sun goes and adds more goodies to the package. The Java Collections Framework, standard in JDK 1.2 and available for Java 1.1, offers developers a common way to implement and access collections. Java developer Dan Becker examines this new framework, detailing the basic concrete implementations and the general-purpose methods for sorting and manipulating collections. (2,900 words)


w__ww__.j__a_v___a2s_.c_o___m__ | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.