Comment on Tutorial - compareTo( ) in Java By Mashoud



Comment Added by : Peter

Comment Added at : 2009-10-07 07:32:31

Comment on Tutorial : compareTo( ) in Java By Mashoud
know someone how to compare various objects?
I would like to have only one comparator for object like String, Long, Date...
but these objects come as "Object"s
any help?


View Tutorial



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. Its awesome
View Tutorial          By: Ranjitha at 2012-08-02 10:21:59

2. Hi ,Razvan

I changed code as in you

View Tutorial          By: sanil at 2011-01-01 11:05:53

3. can any one plz send me the message passing codin
View Tutorial          By: sowmya at 2010-08-02 04:57:22

4. explaination is very good ,(lucid and succinct app
View Tutorial          By: shailendra singh at 2010-06-08 11:24:29

5. good example
View Tutorial          By: WANT TO KNOW WHY WE USE APPEND at 2011-06-14 00:39:48

6. what we have to write in simple comparator class
View Tutorial          By: shiva at 2015-04-18 09:19:17

7. I have loaded allthe 5 java files.But how to imple
View Tutorial          By: devi at 2008-04-01 01:02:28

8. Hi you will run this program just as you run any o
View Tutorial          By: Steven at 2008-10-14 09:03:28

9. good!
View Tutorial          By: rey.ryan at 2009-03-14 05:49:28

10. I want an example...to get multiple values using S
View Tutorial          By: Madhu at 2015-07-13 19:57:14