You need to add some println debugging code to see where the execution flow goes and what the values of the variables are as they are used and change. From your desk checking with paper and pencil...
Type: Posts; User: Norm
You need to add some println debugging code to see where the execution flow goes and what the values of the variables are as they are used and change. From your desk checking with paper and pencil...
Can you explain in more detail what the problem is. What happens? Does it give an error?
I don't see any image in your previous post.
Ok, got it. What is your next step? Which method are you going to do next?
Remember, we're here to help you get your code to work. We don't write your code. You write it.
Apologies accepted.
You still need to design/describe what you want your code to do.
Have you looked at the java some of the classes in the src.zip file to get some ideas of how java did it?
Good luck on the project.
Hopefully you'll tell the next guy that tries to help where the parts are that are needed to compile the code.
And I think there is a lot more about your environment that...
I'm sorry, to me it looks like an execution error.
Without a definition for this class: SimpleListADT
I can NOT compile the code. PERIOD. NO WAY to do any more.
I am not going to do any of your design work. I will help you get your design to work. I will not write any code for you.
The FIRST thing you must do is provide me with code that executes or if...
I get lots of errors. package util; is NOT an import statement!
Where is SimpleListADT defined?
Running: D:\Java\jdk1.6.0_25\bin\javac.exe -Xlint -g -deprecation -classpath...
You left off the import statements needed to compile the code. Either post clean code that compiles or post all of the errors you get when you try to compile the code.
Also the main() method is...
Please enclose your code in code tags to preserve formatting. Unformatted, left adjusted code is hard to read.
Info here:BB Code List - Java Forums
Can you describe what you need to do next and what problems you are having?
What is the purpose/usage of the three arrays you have defined?
Why do you destroy the original value of freeListsArray...
That's an interesting use of the Comparable interface. Have you read the API doc for the Comparable interface?
It's mainly used with the sorting/ordering of lists.