added toString method

master
melvin 2012-09-25 17:36:17 +08:00
parent bd923200d9
commit 8583d80045
1 changed files with 5 additions and 0 deletions

View File

@ -737,6 +737,11 @@ public class MagicCardDefinition {
getText().toLowerCase().contains(s)
);
}
@Override
public String toString() {
return getName();
}
public static final Comparator<MagicCardDefinition> NAME_COMPARATOR_DESC=new Comparator<MagicCardDefinition>() {
@Override