File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Sorting array list of classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Sorting array list of classes" Watch "Sorting array list of classes" New topic
Author

Sorting array list of classes

mike karl
Greenhorn

Joined: Mar 21, 2013
Posts: 13
this is basically the short hand version of my class, just a question, how can i use my setOrder method to set the order for customer, amount, and date instead of writing 3 different methods for each one

Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38075
    
  22
Start with the Java Tutorials.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sorting array list of classes
 
Similar Threads
declaring an array using an interface type
Inheritance
Using class Iterable and sorting ArrayList
Multiple ArrayList
Insert method....