@Override
    public boolean equals(Object obj) {
        if (!(obj instanceof CellID)) {
            return false;
        }
        CellID another = (CellID) obj;

        if (another.extendGUID1 != null && another.extendGUID2 != null &&
                this.extendGUID1 != null && this.extendGUID2 != null) {
            return another.extendGUID1.equals(this.extendGUID1) &&
                    another.extendGUID2.equals(this.extendGUID2);
        }

        return false;
    }
Override the Equals method.

@param obj Specify the object.
@return Return true if equals, otherwise return false.
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/onenote/fsshttpb/streamobj/basic/CellID.java