Search:

Type: Posts; User: Matts4948

Search: Search took 0.10 seconds.

  1. Replies
    1
    Views
    1,097

    Performance of Threads

    How do threads affect performance of an implementation?
  2. Re: Need Help with Sorting using thread sorting, How do I use a thread?

    toString() method:
    System.out.println("an ID "+ java.util.Arrays.toString(theArrayName));

    Where am I supposed to put this?
  3. Re: Need Help with Sorting using thread sorting, How do I use a thread?

    Ok, I finally received this.

    run:
    The data returned by Sort.sort is sorted
    The data returned by Sort.threadedSort is sorted
    BUILD SUCCESSFUL (total time: 1 second)


    But shouldn't it be...
  4. Re: Need Help with Sorting using thread sorting, How do I use a thread?

    So where exactly would I comment out, you have to know I'm new at this.
  5. Re: Need Help with Sorting using thread sorting, How do I use a thread?

    How do I comment out the throws statement? She hasn't told us anything because this is an online course and she really doesn't say anything. She just gives a chapter to read and gives us a link and...
  6. Re: Need Help with Sorting using thread sorting, How do I use a thread?

    So how would I rewrite it?
  7. Re: Need Help with Sorting using thread sorting, How do I use a thread?

    No, I haven't been able to compile or execute the code because I get this error:

    run:
    The data returned by Sort.sort is sorted
    Exception in thread "main" java.lang.IllegalStateException: Method...
  8. Re: Need Help with Sorting using thread sorting, How do I use a thread?

    These are the other files



    public class MergeSort {

    // The mergeSort method returns a sorted copy of the
    // String objects contained in the String array data.
    /**
    * Sorts the...
  9. Re: Need Help with Sorting using thread sorting, How do I use a thread?

    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileReader;
    import java.io.IOException;
    import java.util.ArrayList;

    public class Sort {

    /**
    * You are to implement...
  10. Re: Need Help with Sorting using thread sorting, How do I use a thread?

    Could you please help me with this, I'm really not that good at this.
  11. Re: Need Help with Sorting using thread sorting, How do I use a thread?

    Where is this API doc?
  12. Need Help with Sorting using thread sorting, How do I use a thread?

    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileReader;
    import java.io.IOException;
    import java.util.ArrayList;

    public class Sort {

    public static String[]...
Results 1 to 12 of 12