aspose file tools*
The moose likes Beginning Java and the fly likes Simple question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Simple question "compareTo"" Watch "Simple question "compareTo"" New topic
Author

Simple question "compareTo"

Elahe Shafie
Ranch Hand

Joined: Dec 12, 2001
Posts: 291
Hi Friends,
I try to compare strFixedDate if it is not equal "" how can I write it?
?? strFixedDate compareTo(!"");
Thanks,
Elahe


Thanks,
Elahe
Roy Ben Ami
Ranch Hand

Joined: Jan 13, 2002
Posts: 732
if (!(strFixedDate.equals(""))) ???
Elahe Shafie
Ranch Hand

Joined: Dec 12, 2001
Posts: 291
Thanks Roy...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Simple question "compareTo"
 
Similar Threads
Confused about use of compareTo()
Using a Comparator in Collections
Collections.binarySearch Question
Comparator
Priority Queue doubt