public boolean equals()

in src/main/java/org/apache/sling/scripting/core/impl/helper/ProtectedBindings.java [177:196]


    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (!super.equals(obj))
            return false;
        if (getClass() != obj.getClass())
            return false;
        ProtectedBindings other = (ProtectedBindings) obj;
        if (protectedKeys == null) {
            if (other.protectedKeys != null)
                return false;
        } else if (!protectedKeys.equals(other.protectedKeys))
            return false;
        if (wrapped == null) {
            if (other.wrapped != null)
                return false;
        } else if (!wrapped.equals(other.wrapped))
            return false;
        return true;
    }