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...
Type: Posts; User: Saintroi
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...
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...
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...
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...
1217
That help?
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...
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...