public boolean equals()

in src/main/java/software/amazon/qldb/tutorial/qldb/TransactionInfo.java [55:69]


    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (!(o instanceof TransactionInfo)) {
            return false;
        }

        final TransactionInfo that = (TransactionInfo) o;

        if (getStatements() != null ? !getStatements().equals(that.getStatements()) : that.getStatements() != null) {
            return false;
        }
        return getDocuments() != null ? getDocuments().equals(that.getDocuments()) : that.getDocuments() == null;
    }