Topic awaiting preservation: Insertion and sorting with Doubly Linked Lists (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: Cell 666 |
posted 10-17-2002 23:43
ok, here's what I'm trying to do (unsuccessfully): code: public void insert (Object o) { |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 10-18-2002 00:21
What language is this? If it's C++, then you probably want that second return to be a break, and I'm wondering about the lack of -> operators. |
Maniac (V) Inmate From: Cell 666 |
posted 10-18-2002 00:28
It's Java. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 10-18-2002 00:34
The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Inmate From: Cell 666 |
posted 10-18-2002 00:38
I solved my problem... code: public void insert (Object o) {
|
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 10-18-2002 00:43
The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Inmate From: Cell 666 |
posted 10-18-2002 01:03
Actually we had to write our own list, node and iterator classes - we couldn't use the one included in the standard java library. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 10-18-2002 09:54
The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 10-18-2002 12:08 |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 10-18-2002 12:20
The poster has demanded we remove all his contributions, less he takes legal action. |