Hello!
I was curious if i could help any guidance on my problem.
In my program i have the following class.
class Match{
String File;
String Area;
int Score = 0;
//public Match(int Index ){
public Match(String File,String Area, int Score){
this.Area = Area;
this.Score = Score;
this.File = File;
}
public String getArea(){
return Area;
}
public int Score(){
return Score;
}
public String getFile(){
return File;
}
}
then i create an ArrayList of them.
ArrayList<Match> match = new ArrayList<Match>();
]
And get a number of entries.
I was curious if i could sort them out by the use of the
int Score
Any ideas on how to implement this or where should i refer to ?
Thanks in advance