Click here to Skip to main content
15,920,956 members
Home / Discussions / Java
   

Java

 
GeneralRe: Generic List and request.getParameterValues Pin
Richard MacCutchan8-Jun-17 21:52
mveRichard MacCutchan8-Jun-17 21:52 
QuestionHelp with calling .length on an array Pin
m009le2-Jun-17 10:50
m009le2-Jun-17 10:50 
AnswerRe: Help with calling .length on an array Pin
Member 121394422-Jun-17 11:20
Member 121394422-Jun-17 11:20 
AnswerRe: Help with calling .length on an array Pin
Richard MacCutchan2-Jun-17 22:17
mveRichard MacCutchan2-Jun-17 22:17 
AnswerRe: Help with calling .length on an array Pin
jdferrell17-Jul-17 15:09
professionaljdferrell17-Jul-17 15:09 
Questionunable to pass array index value in the form of a variable in jsp and javascript Pin
a a nizami31-May-17 21:12
a a nizami31-May-17 21:12 
AnswerRe: unable to pass array index value in the form of a variable in jsp and javascript Pin
Richard MacCutchan31-May-17 22:30
mveRichard MacCutchan31-May-17 22:30 
QuestionCopying the array Pin
Member 1322889629-May-17 3:53
Member 1322889629-May-17 3:53 
I am asked to copy an array and return a deep copy of the idx index, this is what i did but told i am still not copying the array. I have no idea what to do.

public static int[][] getOrder(int idx) {
        int[][] product = null;
        int noOrders;
        if (idx >= 0 && idx < ORDERS.length) {
            for (noOrders = 0; noOrders < ORDERS.length; noOrders++) {
                if (noOrders == idx) {
                    product = ORDERS[noOrders].clone();
                }
            }
        } else {
            System.err.println("idx: " + idx + " is not valid!");
            return null;
        }

        return product;
    }

}

QuestionAccess to Active Directory (Java) Pin
Member 1213944227-May-17 9:34
Member 1213944227-May-17 9:34 
AnswerRe: Access to Active Directory (Java) Pin
Richard MacCutchan27-May-17 20:58
mveRichard MacCutchan27-May-17 20:58 
QuestionAnt colony system for solving a shortest path in a multimodal transport Pin
Member 1322085424-May-17 10:07
Member 1322085424-May-17 10:07 
AnswerRe: Ant colony system for solving a shortest path in a multimodal transport Pin
Richard MacCutchan24-May-17 21:15
mveRichard MacCutchan24-May-17 21:15 
GeneralRe: Ant colony system for solving a shortest path in a multimodal transport Pin
Member 1322085424-May-17 21:38
Member 1322085424-May-17 21:38 
GeneralRe: Ant colony system for solving a shortest path in a multimodal transport Pin
Richard MacCutchan24-May-17 21:50
mveRichard MacCutchan24-May-17 21:50 
GeneralRe: Ant colony system for solving a shortest path in a multimodal transport Pin
Member 1322085425-May-17 0:38
Member 1322085425-May-17 0:38 
GeneralRe: Ant colony system for solving a shortest path in a multimodal transport Pin
Richard MacCutchan25-May-17 0:39
mveRichard MacCutchan25-May-17 0:39 
GeneralRe: Ant colony system for solving a shortest path in a multimodal transport Pin
Member 1322085425-May-17 0:41
Member 1322085425-May-17 0:41 
Questionthis.submitForm - Help with Custom Subject Line Pin
Member 1322073224-May-17 8:16
Member 1322073224-May-17 8:16 
AnswerRe: this.submitForm - Help with Custom Subject Line Pin
NotPolitcallyCorrect24-May-17 9:28
NotPolitcallyCorrect24-May-17 9:28 
GeneralRe: this.submitForm - Help with Custom Subject Line Pin
Member 1322073224-May-17 9:41
Member 1322073224-May-17 9:41 
QuestionH2 database (SQL) syntax error Pin
Ashford Tulgaa14-May-17 21:43
Ashford Tulgaa14-May-17 21:43 
AnswerRe: H2 database (SQL) syntax error Pin
Richard MacCutchan14-May-17 21:56
mveRichard MacCutchan14-May-17 21:56 
GeneralRe: H2 database (SQL) syntax error Pin
Ashford Tulgaa14-May-17 22:04
Ashford Tulgaa14-May-17 22:04 
AnswerRe: H2 database (SQL) syntax error Pin
Jochen Arndt14-May-17 23:12
professionalJochen Arndt14-May-17 23:12 
GeneralRe: H2 database (SQL) syntax error Pin
Ashford Tulgaa14-May-17 23:14
Ashford Tulgaa14-May-17 23:14 

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.