This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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: 43945
    
  33
Start with the Java Tutorials.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Sorting array list of classes
 
It's not a secret anymore!