publicclassPersonimplementsComparable<Person>{
private String name;private Integer order;/**
* @return the name
*/public String getName(){
return name;}/**
* @param name
* the name to set
*/publicvoidsetName(String name){
this.name = name;}/**
* @return the order
*/public Integer getOrder(){
return order;}/**
* @param order
* the order to set
*/publicvoidsetOrder(Integer order){
this