Click here to Skip to main content
15,912,329 members
Home / Discussions / Java
   

Java

 
AnswerRe: Sort Array in ascending and descding Pin
Richard MacCutchan13-Oct-09 4:51
mveRichard MacCutchan13-Oct-09 4:51 
GeneralRe: Sort Array in ascending and descding Pin
nt_virus13-Oct-09 5:25
nt_virus13-Oct-09 5:25 
GeneralRe: Sort Array in ascending and descding Pin
Richard MacCutchan13-Oct-09 6:27
mveRichard MacCutchan13-Oct-09 6:27 
GeneralRe: Sort Array in ascending and descding Pin
nt_virus13-Oct-09 19:16
nt_virus13-Oct-09 19:16 
GeneralRe: Sort Array in ascending and descding Pin
Richard MacCutchan13-Oct-09 22:28
mveRichard MacCutchan13-Oct-09 22:28 
GeneralRe: Sort Array in ascending and descding Pin
nt_virus13-Oct-09 23:50
nt_virus13-Oct-09 23:50 
GeneralRe: Sort Array in ascending and descding Pin
Richard MacCutchan14-Oct-09 1:08
mveRichard MacCutchan14-Oct-09 1:08 
GeneralRe: Sort Array in ascending and descding Pin
427748014-Oct-09 8:26
427748014-Oct-09 8:26 
I looked at your code, you need to read the error message which says The method sort(int[]) in the type Arrays is not applicable for the arguments (int[], Comparator < Object > ) so when you added the Integer you are solving the problem that was generated because Integer class wraps a value of the primitive type int in an object. An object of type Integer contains a single field whose type is int.
GeneralRe: Sort Array in ascending and descding Pin
Richard MacCutchan14-Oct-09 8:41
mveRichard MacCutchan14-Oct-09 8:41 
GeneralRe: Sort Array in ascending and descding Pin
nt_virus14-Oct-09 18:47
nt_virus14-Oct-09 18:47 
QuestionPDF2xhtml Pin
sharkbc12-Oct-09 18:45
sharkbc12-Oct-09 18:45 
AnswerRe: PDF2xhtml Pin
Nagy Vilmos12-Oct-09 21:54
professionalNagy Vilmos12-Oct-09 21:54 
AnswerRe: PDF2xhtml Pin
427748014-Oct-09 8:28
427748014-Oct-09 8:28 
QuestionJava and .NET Pin
trazomtg9-Oct-09 23:14
trazomtg9-Oct-09 23:14 
AnswerRe: Java and .NET Pin
427748010-Oct-09 8:32
427748010-Oct-09 8:32 
Question[Message Deleted] Pin
s_a_2002639-Oct-09 2:18
s_a_2002639-Oct-09 2:18 
AnswerRe: Array Subsequence Pin
David Skelly9-Oct-09 2:33
David Skelly9-Oct-09 2:33 
General[Message Deleted] Pin
s_a_2002639-Oct-09 2:37
s_a_2002639-Oct-09 2:37 
GeneralRe: Array Subsequence Pin
42774809-Oct-09 3:10
42774809-Oct-09 3:10 
AnswerRe: Array Subsequence Pin
Nagy Vilmos9-Oct-09 2:49
professionalNagy Vilmos9-Oct-09 2:49 
General[Message Deleted] Pin
s_a_2002639-Oct-09 3:22
s_a_2002639-Oct-09 3:22 
GeneralRe: Array Subsequence Pin
Nagy Vilmos9-Oct-09 3:52
professionalNagy Vilmos9-Oct-09 3:52 
QuestionJava Intenet Jobs.... Pin
TGeist8-Oct-09 18:33
TGeist8-Oct-09 18:33 
AnswerRe: Java Intenet Jobs.... Pin
Richard MacCutchan8-Oct-09 22:49
mveRichard MacCutchan8-Oct-09 22:49 
AnswerRe: Java Intenet Jobs.... Pin
42774809-Oct-09 3:12
42774809-Oct-09 3:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.