The Artima Developer Community
Sponsored Link

Java Answers Forum
Tester class

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ennio Bozzetti

Posts: 4
Nickname: ennio
Registered: Oct, 2003

Tester class Posted: Oct 23, 2003 9:28 AM
Reply to this message Reply
Advertisement
I need help to creat this tester class, for my sort class, can some one help me.

public static void sort( Comparable[] x, int algorithm, int test ) – this method sorts the given array with the specified algorithm and test. The results of the test are printed to the console. The values for algorithm are specified by the class constants SortTester.MERGESORT, SortTester.BASIC_QUICKSORT, and SortTester.ENHANCED_QUICKSORT. The values for test are specified by the class constants SortTester.NONE, SortTester.TIMING_TEST, and SortTester.COUNTING_TEST.


thx.

Topic: search engine for a pdf file Previous Topic   Next Topic Topic: INTERFACE vs ABSTRACT

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use