Code example for UUID

Methods: equals

0
            return true; 
        } else if (object != null && this.getClass() == object.getClass()) {
            AttributeModifier attributemodifier = (AttributeModifier) object;
 
            if (this.d != null) {
                if (!this.d.equals(attributemodifier.d)) {
                    return false; 
                } 
            } else if (attributemodifier.d != null) {
                return false; 
            } 
 
            return true; 
        } else { 
            return false; 
        } 
    } 
 
    public int hashCode() { 
        return this.d != null ? this.d.hashCode() : 0;
    }