package utils.comparator; import edu.neu.ccs.demeterf.demfgen.lib.List; import gen.Pair; import gen.PlayerID; /** Class to determine whether two player accounts belong to the same player * @author animesh * */ public class PlayerAccountComparator extends List.Pred>{ Pair look; public PlayerAccountComparator(Pair accountChange) { look = accountChange; } @Override public boolean huh(Pair account) { return account.a.equals(look.a); } }