Click here to Skip to main content
15,887,341 members
Home / Discussions / Java
   

Java

 
GeneralRe: HSQL where clause Pin
Nico Haegens29-Apr-14 20:59
professionalNico Haegens29-Apr-14 20:59 
GeneralRe: HSQL where clause Pin
Richard MacCutchan29-Apr-14 21:07
mveRichard MacCutchan29-Apr-14 21:07 
GeneralRe: HSQL where clause Pin
Nico Haegens29-Apr-14 21:18
professionalNico Haegens29-Apr-14 21:18 
GeneralRe: HSQL where clause Pin
Richard MacCutchan29-Apr-14 21:23
mveRichard MacCutchan29-Apr-14 21:23 
QuestionJava file reading Pin
monikanchan28-Apr-14 18:17
monikanchan28-Apr-14 18:17 
GeneralRe: Java file reading Pin
Richard MacCutchan28-Apr-14 22:31
mveRichard MacCutchan28-Apr-14 22:31 
AnswerRe: Java file reading Pin
Doan Vu6-Jun-14 17:03
professionalDoan Vu6-Jun-14 17:03 
Questionget value inside array list in specific order Pin
sunil khichar28-Apr-14 7:36
sunil khichar28-Apr-14 7:36 
Java


C#
private List<Patienthealthdata> patientHealthDataList = new ArrayList<Patienthealthdata>();
patientHealthDataSet = medicalHistoryService.getLatestMedicalHistoryDataAttributes(patient);
String groupName = patientHealthData.getHealthdata().getHealthdatagrouplinks().iterator().next().getHealthdatagroup().getName().trim();
if (groupName.equals(Constants.HELTH_GROUP_BMI)) {
    if (patientHealthData.getHealthdata().getName().contains("Height (ft)")) {
    //System.out.println("if loop(Height(ft))");
        for (Entry<Integer, String> entry : heightMap.entrySet()) {
            //Set s=heightMap.entrySet();
            //System.out.println(s);
            if (entry.getKey() == 1) {
                valHeightFt = entry.getValue();
            }
            if (entry.getKey() == 2) {
                valHeightInch = entry.getValue();
            }

            int indexInch = valHeightInch.indexOf('\'');
            if (indexInch > 0) {
                valHeightInch = valHeightInch.substring(0, indexInch);
            }

            int indexFt = valHeightFt.indexOf('\'');
            if (indexFt > 0) {
                valHeightFt = valHeightFt.substring(0, indexFt);
            }

            if (!valHeightFt.equals("") && !valHeightInch.equals("")) {
                newValue = valHeightFt + "'" + valHeightInch + "\"";
                patientHealthData.setHealthDataValueDisplay(newValue);
                //System.out.println("done done");
                //System.out.println(newValue);
            }
        } 
patientHealthDataList.add(patientHealthData);  
            } // 
//End of for loop

AnswerRe: get value inside array list in specific order Pin
jschell28-Apr-14 8:07
jschell28-Apr-14 8:07 
QuestionJSP VS ASP.net Pin
Kokkula27-Apr-14 18:53
Kokkula27-Apr-14 18:53 
AnswerRe: JSP VS ASP.net Pin
Prasad Khandekar11-Jun-14 0:27
professionalPrasad Khandekar11-Jun-14 0:27 
QuestionDatabase auto updates on JSP Pin
Kokkula27-Apr-14 11:13
Kokkula27-Apr-14 11:13 
Questionplease give me idea to code this algo in java for cloudsim tool Pin
Member 1077892327-Apr-14 10:51
Member 1077892327-Apr-14 10:51 
AnswerRe: please give me idea to code this algo in java for cloudsim tool Pin
jschell28-Apr-14 8:03
jschell28-Apr-14 8:03 
QuestionWrite to Xml file and Read on java Pin
Member 1077822527-Apr-14 2:39
Member 1077822527-Apr-14 2:39 
AnswerRe: Write to Xml file and Read on java Pin
Prasad Khandekar11-Jun-14 0:44
professionalPrasad Khandekar11-Jun-14 0:44 
QuestionHow to install a project using Jboss Pin
Member 1077205124-Apr-14 1:40
Member 1077205124-Apr-14 1:40 
Questionjava.net.SocketException: Software caused connection abort: socket write error Exception after writing some values Pin
Nosheen Javed23-Apr-14 21:20
Nosheen Javed23-Apr-14 21:20 
QuestionRead PDF tables using iText Pin
raesark23-Apr-14 0:25
raesark23-Apr-14 0:25 
AnswerRe: Read PDF tables using iText Pin
TorstenH.23-Apr-14 1:10
TorstenH.23-Apr-14 1:10 
GeneralRe: Read PDF tables using iText Pin
raesark23-Apr-14 1:28
raesark23-Apr-14 1:28 
GeneralRe: Read PDF tables using iText Pin
TorstenH.23-Apr-14 1:59
TorstenH.23-Apr-14 1:59 
GeneralRe: Read PDF tables using iText Pin
raesark23-Apr-14 3:19
raesark23-Apr-14 3:19 
GeneralRe: Read PDF tables using iText Pin
TorstenH.23-Apr-14 4:03
TorstenH.23-Apr-14 4:03 
QuestionApplet Automation Pin
Member 909935222-Apr-14 20:06
professionalMember 909935222-Apr-14 20:06 

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.