Results 21 to 24 of 24
Thread: Bubble Sort objects
- 03-26-2012, 12:02 AM #21
Senior Member
- Join Date
- Nov 2011
- Posts
- 116
- Rep Power
- 0
- 03-26-2012, 12:10 AM #22
Re: Bubble Sort objects
Since a Vector contains objects, how would the Vector class know how to look at the contents of an object to be able to compare them? It wouldn't.
The creator of the objects would have to write the code.If you don't understand my response, don't ignore it, ask a question.
- 03-26-2012, 12:16 AM #23
Senior Member
- Join Date
- Nov 2011
- Posts
- 116
- Rep Power
- 0
Re: Bubble Sort objects
Ok, so why did you ask me to look at any extending classes? Which was Vector.
Specifically when I am trying to compare Stack objects.
- 03-26-2012, 12:19 AM #24
Similar Threads
-
Question with bubble sort
By Metastar in forum New To JavaReplies: 22Last Post: 09-13-2010, 06:25 AM -
Bubble sort
By pineapple in forum New To JavaReplies: 3Last Post: 04-25-2009, 12:45 AM -
How to sort a list using Bubble sort algorithm
By Java Tip in forum AlgorithmsReplies: 3Last Post: 04-29-2008, 08:04 PM -
Bubble Sort in Java
By Java Tip in forum AlgorithmsReplies: 0Last Post: 04-15-2008, 07:42 PM -
need help with bubble sort
By lowpro in forum New To JavaReplies: 3Last Post: 12-17-2007, 05:27 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks