@Override
    public boolean equals(Object obj)
    {
        if(this == obj)
            return true;
        if((obj == null) || (obj.getClass() != this.getClass()))
            return false;
        
        Utilizador ut = (Utilizador) obj;
        return this.nick.equals(ut.getNick()) && this.nome.equals(ut.getNome()) && this.pass.equals(ut.getPass()) && equalsConta(this.conta, ut.getConta())
                && this.morada.equals(ut.getMorada()) && this.historico.equals(ut.getHistorico()) && this.lapostas.equals(ut.getLapostas());
    }