This week's book giveaway is in the General Computing forum.
We're giving away four copies of Emmy in the Key of Code and have Aimee Lucido on-line!
See this thread for details.
Win a copy of Emmy in the Key of Code this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

sorting and such like

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I was wondering if anyone knew some good java documentation that could tell me about the different types of sorts (bubble, insertion etc.) and loops...I know there is some on Java.sun.com but im VERY new to this so im not to sure where to go on the sun website...can anyone offer some help.

Many Thanks,
Gavin
 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey check this Site

I think u will get good info about Sorting.
 
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm unsure whether your're asking about sort algorithms in general (in which case it's not a Java question), or whether you're asking how to sort things in Java. If the latter, check out Collections.sort().
 
Ranch Hand
Posts: 1970
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No such discussion is complete without mention of Bogosort algorithm. Highly recommended, especially for large data sets.
 
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried using Google? Sorting is a well-understood topic in Computer Science and there are many sites on the Web that describe how different sorting algorithms work. In fact, many of these sites have animations that illustrates the algorithm in action. For example, take a look at this applet. It doesn't contain any textual descriptions of the algorithms, but it illustrates very clearly what happens during the various sort algorithms that it has implemented.

I hope this helps.

Layne
 
Oh the stink of it! Smell my tiny ad!
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!