Search:

Type: Posts; User: Norm

Search: Search took 0.16 seconds.

  1. Thread: Sorting Strings

    by Norm
    Replies
    17
    Views
    2,993

    [SOLVED] Re: Sorting Strings

    do it in small steps:
    Put the items to be sorted into a list.
    Print out the contents of the list to see the BEFORE order.
    Adding a toString() method to the class will make it easier to print out...
  2. Thread: Sorting Strings

    by Norm
    Replies
    17
    Views
    2,993

    [SOLVED] Re: Sorting Strings

    If the items to be sorted are in an array and the method takes an array as a parameter, have you tried calling the method with the array as an argument?
  3. Thread: Sorting Strings

    by Norm
    Replies
    17
    Views
    2,993

    [SOLVED] Re: Sorting Strings

    However you want to do it.
  4. Thread: Sorting Strings

    by Norm
    Replies
    17
    Views
    2,993

    [SOLVED] Re: Sorting Strings

    Putting it in its own class would let you use it in other apps.
  5. Thread: Sorting Strings

    by Norm
    Replies
    17
    Views
    2,993

    [SOLVED] Re: Sorting Strings

    Have you looked up/Googled the logic for a Binary search?
  6. Thread: Sorting Strings

    by Norm
    Replies
    17
    Views
    2,993

    [SOLVED] Re: Sorting Strings

    For testing, create a small program with a small array of DVD objects, print out the array, call the sort method and then print out the array after the sort.
    That should allow you to test the...
  7. Thread: Sorting Strings

    by Norm
    Replies
    17
    Views
    2,993

    [SOLVED] Re: Sorting Strings

    Does it do the sorting you want? If so, use it.

    Please Edit your post and wrap your code with
    <YOUR CODE HERE> to get highlighting
Results 1 to 7 of 7