Code example for BigInteger

Methods: hashCode

0
        return _attemptId;
    } 
 
    @Override 
    public int hashCode() { 
        return _txid.hashCode();
    } 
 
    @Override 
    public boolean equals(Object o) {
        if(!(o instanceof TransactionAttempt)) return false;
        TransactionAttempt other = (TransactionAttempt) o;
        return _txid.equals(other._txid) && _attemptId == other._attemptId;
    } 
 
    @Override 
    public String toString() {
        return "" + _txid + ":" + _attemptId;
    }     
}