Collections, Lists and Sets...
3 posters
Page 1 of 1
Collections, Lists and Sets...
Hi All,
Java provides a variety of sets, maps and collections. Let us discuss the advantages/disadvantages of some of these over the others.
Regards,
Lester.
Java provides a variety of sets, maps and collections. Let us discuss the advantages/disadvantages of some of these over the others.
Regards,
Lester.
lester.noronha- VIP Member
- Number of posts : 54
Registration date : 2008-04-29
Using HashSet, LinkedHashSet, and TreeSet ...
An article that shows the usage of HashSet, LinkedHashSet, and TreeSet.
http://java.sun.com/developer/JDCTechTips/2002/tt1105.html#1
An article that shows how to choose a collections implementation framework.
http://java.sun.com/developer/JDCTechTips/2003/tt0220.html
Regards,
Lester.
http://java.sun.com/developer/JDCTechTips/2002/tt1105.html#1
An article that shows how to choose a collections implementation framework.
http://java.sun.com/developer/JDCTechTips/2003/tt0220.html
Regards,
Lester.
lester.noronha- VIP Member
- Number of posts : 54
Registration date : 2008-04-29
Re: Collections, Lists and Sets...
A weak hash map implementation...
http://java.sun.com/developer/JDCTechTips/2006/tt0211.html
http://java.sun.com/developer/JDCTechTips/2006/tt0211.html
lester.noronha- VIP Member
- Number of posts : 54
Registration date : 2008-04-29
RE: Collections, Lists and Sets...
Properties File----> Set, Iterator
Working with properties file ............
use of SET
SET is very usefull when we r working with properties file...
Properties prop = new Properties();
Set key =prop.keySet();
int noOfKeys = key.size();
// change Set to Iterator.. so we can use while(it.hasNext())
Iterator it = key.iterator();
Working with properties file ............
use of SET
SET is very usefull when we r working with properties file...
Properties prop = new Properties();
Set key =prop.keySet();
int noOfKeys = key.size();
// change Set to Iterator.. so we can use while(it.hasNext())
Iterator it = key.iterator();
Mohit Sharma- Developer
-
Number of posts : 4
Age : 39
Location : Bangalore
Registration date : 2008-05-06
Re: Collections, Lists and Sets...
More Articles...
Using Sets
http://java.sun.com/developer/JDCTechTips/2001/tt0208.html
Collections Framework Overview
http://java.sun.com/javase/6/docs/technotes/guides/collections/overview.html
Utilizing the Map Interface from the Collections Framework
http://access1.sun.com/techarticles/CollectionsMap.html
The Collections Framework
http://java.sun.com/j2se/1.4.2/docs/guide/collections/index.html
Using Collections to sort and shuffle a list
http://java.sun.com/developer/JDCTechTips/2004/tt0716.html
Java Collections API Design FAQ
http://java.sun.com/javase/6/docs/technotes/guides/collections/designfaq.html
Using Sets
http://java.sun.com/developer/JDCTechTips/2001/tt0208.html
Collections Framework Overview
http://java.sun.com/javase/6/docs/technotes/guides/collections/overview.html
Utilizing the Map Interface from the Collections Framework
http://access1.sun.com/techarticles/CollectionsMap.html
The Collections Framework
http://java.sun.com/j2se/1.4.2/docs/guide/collections/index.html
Using Collections to sort and shuffle a list
http://java.sun.com/developer/JDCTechTips/2004/tt0716.html
Java Collections API Design FAQ
http://java.sun.com/javase/6/docs/technotes/guides/collections/designfaq.html
lester.noronha- VIP Member
- Number of posts : 54
Registration date : 2008-04-29
Re: Collections, Lists and Sets...
A host of articles on java collections
http://www.java2s.com/Article/Java/Language/Collections.htm
http://www.java2s.com/Article/Java/Language/Collections.htm
lester.noronha- VIP Member
- Number of posts : 54
Registration date : 2008-04-29
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|