public boolean equals()

in aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/CognitoEvent.java [178:200]


        public boolean equals(Object obj) {
            if (this == obj)
                return true;
            if (obj == null)
                return false;

            if (obj instanceof DatasetRecord == false)
                return false;
            DatasetRecord other = (DatasetRecord) obj;
            if (other.getOldValue() == null ^ this.getOldValue() == null)
                return false;
            if (other.getOldValue() != null && other.getOldValue().equals(this.getOldValue()) == false)
                return false;
            if (other.getNewValue() == null ^ this.getNewValue() == null)
                return false;
            if (other.getNewValue() != null && other.getNewValue().equals(this.getNewValue()) == false)
                return false;
            if (other.getOp() == null ^ this.getOp() == null)
                return false;
            if (other.getOp() != null && other.getOp().equals(this.getOp()) == false)
                return false;
            return true;
        }