Comment on Tutorial - TreeMap example in Java By Daniel Malcolm



Comment Added by : manish

Comment Added at : 2013-03-24 16:21:03

Comment on Tutorial : TreeMap example in Java By Daniel Malcolm
The example is good but there is an easy to iterate over any collection class IE
Map.Entry<String,Double> map=tree map.entry set();
Sys out(map.get key +"value is"+map.get value());


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. Good one. Clear basic concept
View Tutorial          By: Joshua at 2010-03-12 01:13:08

2. javax.comm.NoSuchPortException
at javax.co

View Tutorial          By: vijay at 2013-12-03 07:32:38

3. give the picture view of connecting vb.net with my
View Tutorial          By: Murugamani at 2014-09-09 06:12:58

4. There was no sharing of volatile variable in the p
View Tutorial          By: Rajesh Poppoppu at 2011-12-30 13:04:42

5. I faced an exception "java.net.connectExcepti
View Tutorial          By: Sandhya Rani Vellanki at 2010-11-15 00:39:24

6. i could not understood the left & right shift
View Tutorial          By: deepak singhal at 2013-07-10 03:37:44

7. sir i want to knw abt all simple java programs pls
View Tutorial          By: sakthi at 2011-08-29 14:06:10

8. wow !!! worked well
View Tutorial          By: Rajesh at 2012-08-30 10:54:53

9. please am in Nigeria, i need to know how to send a
View Tutorial          By: kay at 2009-10-15 03:06:10

10. Hi, I have one problem in spinner items. I want to
View Tutorial          By: soodi at 2011-10-18 18:15:58