package org.hedgecode.snooker.compare;
+import java.io.Serializable;
import java.util.Comparator;
import org.hedgecode.snooker.api.Player;
return comparator;
}
- static class NameComparator implements Comparator<Player> {
+ static class NameComparator implements Comparator<Player>, Serializable {
@Override
public int compare(Player player1, Player player2) {
}
- static class AgeComparator implements Comparator<Player> {
+ static class AgeComparator implements Comparator<Player>, Serializable {
@Override
public int compare(Player player1, Player player2) {