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
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
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
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program 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
Archived Comments
1. Hi,
As you shown here that we have
View Tutorial By: Keyur at 2011-04-05 03:30:12
2. Isn't the Vector class deprecated now? I think Arr
View Tutorial By: Brent at 2013-07-07 06:10:01
3. Thnx.. it was clearly explained... tomorrow i have
View Tutorial By: Susmitha Sen at 2012-03-25 09:34:29
4. It doesnt works in Mozilla Firefox.
View Tutorial By: K Vijay Anand at 2010-06-20 09:11:26
5. thanks...please give some more examples
View Tutorial By: Iqra at 2012-06-24 18:57:51
6. hi
thanks for the above code
Anyone
View Tutorial By: mjnanthini at 2010-09-29 00:59:01
7. But I have the same error ("javax.net.ssl.SSL
View Tutorial By: azeemuddin at 2010-03-04 07:25:33
8. thanks for all samples..
View Tutorial By: ç æ´²å¸‚ at 2013-03-01 09:47:46
9. Thank you for your help !
View Tutorial By: vadym at 2010-03-03 06:35:01
10. How can i read PDF files from external memory(SD c
View Tutorial By: Aswanth at 2014-03-31 09:46:26