public int size(KEY key, FreerailsPrincipal p) { if (key.shared) { return lists[key.getKeyNumber()].size(); }  return ((ArrayList)lists[key.getKeyNumber()].get(getPlayerIndex(p))).size();
public int size(KEY key) { return size(key, Player.NOBODY);
    public int size(KEY key, FreerailsPrincipal p) {        if (key.shared) {            return lists[key.getKeyNumber()].size();        }        return ((ArrayList)lists[key.getKeyNumber()].get(getPlayerIndex(p))).size();    }