public class Deniz_Data{
	private String team;
	private int year;
	private String country;
	public Deniz_Data(String inputTeam, int inputYear, String inputCountry){
		this.team = inputTeam;
		this.year = inputYear;
		this.country = inputCountry;
	}
	public String getTeam() {
		return team;
	}
	public void setTeam(String team) {
		this.team = team;
	}
	public int getYear() {
		return year;
	}
	public void setYear(int year) {
		this.year = year;
	}
	public String getCountry() {
		return country;
	}
	public void setCountry(String country) {
		this.country = country;
	}
	
}
@@ -16,18 +16,52 @@
 niz_Data
+ implements Comparable%3CDeniz_Data%3E
 %7B%0A
-
 %09private
@@ -97,33 +97,8 @@
 ar;%0A
-%09private String country;%0A
 %09pub
@@ -147,29 +147,8 @@
 Year
-, String inputCountry
 )%7B%0A%09
@@ -200,39 +200,8 @@
 ar;%0A
-%09%09this.country = inputCountry;%0A
 %09%7D%0A%09
@@ -406,128 +406,165 @@
 %09%7D%0A%09
-public String getCountry() %7B%0A%09%09return country;%0A%09%7D%0A%09public void setCountry(String country) %7B%0A%09%09this.country = country
+@Override%0A%09public int compareTo(Deniz_Data o) %7B%0A%09%09// TODO Auto-generated method stub%0A%09%09return Integer.valueOf(o.year).compareTo(Integer.valueOf(this.year))
 ;%0A%09%7D%0A
-%09%0A
 %7D

Remove country, add comparable