• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sorting array list of classes

 
mike karl
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start with the Java Tutorials.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic