Code example for BigInteger

Methods: equals

0
 
    @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;
    }     
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE