public boolean equals(Object o) {
        if (o instanceof WildcardPermission) {
            WildcardPermission wp = (WildcardPermission) o;
            return parts.equals(wp.parts);
        }
        return false;
    }
Sets the pre-split String parts of this <code>WildcardPermission</code>.

@param parts pre-split String parts.
@since 1.3.0
core/src/main/java/org/apache/shiro/authz/permission/WildcardPermission.java