Current location: Hot Scripts Forums » Programming Languages » Everything Java » hope to know more about the usage of ".util.Arrays"


hope to know more about the usage of ".util.Arrays"

Reply
  #1 (permalink)  
Old 11-20-05, 02:52 AM
venice venice is offline
Newbie Coder
 
Join Date: Jun 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Question hope to know more about the usage of ".util.Arrays"

i wish to know more about .util.Arrays, is tis method more useful compare wif the bubble sorting? wat character type suitable to use tis method? and except "Arrays.sort()", stil got any other code to run tis method?

thx ^^
Reply With Quote
  #2 (permalink)  
Old 11-20-05, 07:49 PM
sarutv sarutv is offline
Newbie Coder
 
Join Date: Jul 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
hmm, 35 views and nobody wants to answer your queries. This is because information like this can be found by googling or reading the documentation. So please do that, otherwise someone might say RTFM. Since, I am a good guy , here is the link to Java API documentation on Arrays -> http://java.sun.com/j2se/1.5.0/docs/...il/Arrays.html

And from the documentation it looks like, "the sorting algorithm is a tuned quicksort" and the Big O of the sort the are using < 2, i.e., n*log(n). So it should be faster thatn other sorts. Also, the speed of sorting algorithm is significant only when you have a large dataset.

Big O and sorting are all huge topics. So I suggest you google for information on these.
__________________
<pre> Tux is the Best<br>Next is the Rest</pre>
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Calculator(I hope) tdeuce Script Requests 1 02-22-07 03:32 AM
Hi, hope someone can help! :D unknown Script Requests 8 09-30-05 07:23 AM
simple problem...i hope Skyhawk PHP 3 05-17-05 12:06 PM
just joined -- hope this is the right place mrmgraphics New Members & Introductions 1 03-25-04 10:24 PM
website usage statistics lordmerlin The Lounge 0 03-20-04 01:50 PM


All times are GMT -5. The time now is 05:35 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.