@Override
      public boolean equals(Object obj) {
            if (obj == null) {
                  return false;
            }
            if (getClass() != obj.getClass()) {
                  return false;
            }
            final Comentario other = (Comentario) obj;
            if (this.idComentario != other.idComentario) {
                  return false;
            }
            if (!Objects.equals(this.timestamp, other.timestamp)) {
                  return false;
            }
            if (!Objects.equals(this.usuario, other.usuario)) {
                  return false;
            }
            if (this.curso != other.curso) {
                  return false;
            }
            if (Double.doubleToLongBits(this.valNum) != Double.doubleToLongBits(other.valNum)) {
                  return false;
            }
            if (!Objects.equals(this.texto, other.texto)) {
                  return false;
            }
            if (this.votos != other.votos) {
                  return false;
            }
            return true;
      }