Shutdown
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Collections, Lists and Sets...

3 posters

Go down

Collections, Lists and Sets... Empty Collections, Lists and Sets...

Post  lester.noronha Fri May 09, 2008 6:22 pm

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.
lester.noronha
lester.noronha
VIP Member
VIP Member

Number of posts : 54
Registration date : 2008-04-29

Back to top Go down

Collections, Lists and Sets... Empty Using HashSet, LinkedHashSet, and TreeSet ...

Post  lester.noronha Fri May 09, 2008 6:38 pm

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.
lester.noronha
lester.noronha
VIP Member
VIP Member

Number of posts : 54
Registration date : 2008-04-29

Back to top Go down

Collections, Lists and Sets... Empty Re: Collections, Lists and Sets...

Post  Admin Fri May 09, 2008 6:49 pm

Java is the best
cheers

Admin
Admin
Admin

Male
Number of posts : 136
Age : 46
Location : Bangalore
Registration date : 2008-04-25

https://shut.aforumfree.com

Back to top Go down

Collections, Lists and Sets... Empty Re: Collections, Lists and Sets...

Post  lester.noronha Fri May 09, 2008 6:57 pm

A weak hash map implementation...

http://java.sun.com/developer/JDCTechTips/2006/tt0211.html
lester.noronha
lester.noronha
VIP Member
VIP Member

Number of posts : 54
Registration date : 2008-04-29

Back to top Go down

Collections, Lists and Sets... Empty RE: Collections, Lists and Sets...

Post  Mohit Sharma Tue May 20, 2008 11:28 am

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();
Mohit Sharma
Mohit Sharma
Developer
Developer

Male
Number of posts : 4
Age : 39
Location : Bangalore
Registration date : 2008-05-06

Back to top Go down

Collections, Lists and Sets... Empty Re: Collections, Lists and Sets...

Post  lester.noronha Tue May 20, 2008 12:50 pm

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
lester.noronha
lester.noronha
VIP Member
VIP Member

Number of posts : 54
Registration date : 2008-04-29

Back to top Go down

Collections, Lists and Sets... Empty Re: Collections, Lists and Sets...

Post  lester.noronha Tue May 20, 2008 5:02 pm

A host of articles on java collections
http://www.java2s.com/Article/Java/Language/Collections.htm
lester.noronha
lester.noronha
VIP Member
VIP Member

Number of posts : 54
Registration date : 2008-04-29

Back to top Go down

Collections, Lists and Sets... Empty Re: Collections, Lists and Sets...

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum