|
-
Jun 14th, 2011, 02:45 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] long? CompareTo
the type 'long' has a 'compareto()' method but how would you do it if the variable is type 'long?' ?
Basically got a class that contains a variable called FileSize which contains null if it is a folder and other files should have a value for it..so for sorting the specific field, I will need to do a 'compareTo()' but don't seem to do it.
Any ideas? Thanks
Please go to the Thread Tools menu and click Mark Thread Resolved when your post is answered 
If someone helped you today then please consider rating their post.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|