Search:

Type: Posts; User: Saintroi

Search: Search took 0.08 seconds.

  1. Replies
    16
    Views
    1,790

    [SOLVED] Re: Sorting issues.

    I guess you have a point. But I mean its simple, each method sorts the Items in the array differently according to the name. sortName() will obviously sort them by their name, ect.

    As to each...
  2. Replies
    16
    Views
    1,790

    [SOLVED] Re: Sorting issues.

    Well ive given up trying to do different sorts, so i'll just make them all selection. My problem is, 2 of my selection sorts are not working now. The sortName() is still printing wrong, which is...
  3. Replies
    16
    Views
    1,790

    [SOLVED] Re: Sorting issues.

    I did that and I dont understand why its seeing what its seeing. When two strings are compared using compareTo, is it based on alphabetical or what? Because if not then this method wont do what I...
  4. Replies
    16
    Views
    1,790

    [SOLVED] Re: Sorting issues.

    Yeah I may just make the names to all be at least 8. It seems like the most viable choice. I only do it this way because I am required to use toString in my assignment. Usually I would just use...
  5. Replies
    16
    Views
    1,790

    [SOLVED] Re: Sorting issues.

    1217

    That help?
  6. Replies
    16
    Views
    1,790

    [SOLVED] Re: Sorting issues.

    Okay, making the k <= i just k < i seems to have fixed it, but I see more problems with it. I will give you both classes on this post, and if you run it you will see that 2 of the Items that are...
  7. Replies
    16
    Views
    1,790

    [SOLVED] Sorting issues.

    This program is supposed to take a lit of objects, and sort them in different ways. Along with that, the assignment requires us to use different algorithms for some of them, so that is why my methods...
Results 1 to 7 of 7