package utils.comparator; import edu.neu.ccs.demeterf.demfgen.lib.List; import classes.Pair; import classes.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; } public boolean huh(Pair account) { return account.a.equals(look.a); } }