What Richard meant was, that you should only call the sort function on the ArrayList object of yours. Also, you have not shown the structure of your PriorityNote object, does it contain a priority field in itself, or do you assign a value on runtime? If that is a built in field there, then just call the sort function, and to even control how an object is sorted, read java - Sort ArrayList of custom Objects by property - Stack Overflow
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
I have created a java application(exe).
Now when I try to execute the application from a directory whose name is in unicode(Japanese),it crashes.
I could not figure out the problem ,its showing packager.dll issue.
I see two equally meaningless posts about "a priori" and "bayes". It seems that an assignment in the statistics / applied maths course has just been given and what does everybody do? Look through their course notes, refer to a text book or do some searching on Google, nope... ask Code Project!
I have a really hard professor in my Data structures class. I wrote the program to construct the tree from postfix to infix expression. But the problem is I also need to produce an output file to show registers.
Example of the infix expression:
Example of the output file:
Add R0 5 9
Sub R1 3 R0
Mul R2 2 3
Div R3 R1 R2
Any help would be greatly appreciated.
I am all new to java trying to learn same basic and make same little application.
I am stuck on beginning ) Can't make connection work from java app.
I make connection to server from services (there I may see database).
DB - TEST
You need to use the debugger to identify which statement causes the exception, and also try and see if there is more information available in the Exception object. The details provided do not give any clue as to what is wrong.
Last Visit: 26-May-19 2:12 Last Update: 26-May-19 2:12