public class Product implements Serializable{
private String id;
private String name;
private double price ;
private int quantity;
public Produ
As far as I know , you dont have such methods , what you can do is ; extend a subclass of Collection and add methods to sort (search or techniques like bubble sort,and more)
If you have facility for a database (more overhead) *you could put it in there and use order by *if you are using JPA , just dump your list into a entity class