Comment on Tutorial - TreeMap example in Java By Daniel Malcolm



Comment Added by : anbalagan.s

Comment Added at : 2007-10-17 05:10:19

Comment on Tutorial : TreeMap example in Java By Daniel Malcolm
The textarea value(finalresult) i want save in TreeMap(). please relay soon
String emailids=invitation.getInviteeEmail();
String[] result = emailids.split("\n");
for (int x=0; result!=null && x<result.length; x++) {
String[] finalresult= result[x].split(",");
Invitation inv = (Invitation)invitation.clone();
inv.setInviteeEmail(finalresult[0]);
if (finalresult.length==2){
inv.setInviteeName(finalresult[1]);
}
InvitationServiceUtil.create(inv);
}


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. gudeveniing!! plz gave me some project title gor j
View Tutorial          By: ivie at 2012-12-12 11:00:43

2. I did not understand it. please give one example e
View Tutorial          By: farhaan at 2008-03-20 12:06:11

3. Hey, this is a great explanation regarding the dif
View Tutorial          By: foam roofing at 2011-04-02 17:26:52

4. The only thing that really was the solution to my
View Tutorial          By: nick marinho at 2010-07-24 17:45:59

5. just I am need of some of the soft copy related to
View Tutorial          By: shani at 2015-08-12 06:01:05

6. it giving me error in following statment (using Li
View Tutorial          By: Priyadarsan at 2007-11-27 22:31:56

7. ,Hi, (VS2008, VB.Net
I used the above code,

View Tutorial          By: Pat at 2012-06-27 17:30:37

8. sir can this be the role of java in internet if no
View Tutorial          By: shantanu khanduri at 2012-05-28 07:00:11

9. thank you
View Tutorial          By: latif mohammad khan at 2013-01-18 09:53:18

10. not working on mozila firefox 3.1. I tested it.
View Tutorial          By: sushma at 2009-10-08 00:07:47