public boolean equals(Object o) { if (o == null || !(o instanceof WebUserDataPermission)) return false; WebUserDataPermission other = (WebUserDataPermission) o; return urlPatternSpec.equals(other.urlPatternSpec) && httpMethodSpec.equals(other.httpMethodSpec); }
public boolean equals(Object o) { if (o == null || !(o instanceof WebResourcePermission)) return false; WebResourcePermission other = (WebResourcePermission) o; return urlPatternSpec.equals(other.urlPatternSpec) && httpMethodSpec.equals(other.httpMethodSpec); }
public boolean equals(Object o) { if (o == null || !(o instanceof WebResourcePermission)) return false; WebResourcePermission other = (WebResourcePermission) o; return urlPatternSpec.equals(other.urlPatternSpec) && httpMethodSpec.equals(other.httpMethodSpec); }
public boolean equals(Object o) { if (o == null || !(o instanceof WebUserDataPermission)) return false; WebUserDataPermission other = (WebUserDataPermission) o; return urlPatternSpec.equals(other.urlPatternSpec) && httpMethodSpec.equals(other.httpMethodSpec); }
public boolean equals(Object o) { if (o == null || !(o instanceof WebResourcePermission)) return false; WebResourcePermission other = (WebResourcePermission) o; return urlPatternSpec.equals(other.urlPatternSpec) && httpMethodSpec.equals(other.httpMethodSpec); }
public boolean equals(Object o) { if (o == null || !(o instanceof WebUserDataPermission)) return false; WebUserDataPermission other = (WebUserDataPermission) o; return urlPatternSpec.equals(other.urlPatternSpec) && httpMethodSpec.equals(other.httpMethodSpec); }
/** * Checks two WebResourcePermission objects for equality. * WebResourcePermission objects are equivalent if their * URLPatternSpec and (canonicalized) actions values are equivalent. * The URLPatternSpec of a reference permission is equivalent to that * of an argument permission if their first patterns are * equivalent, and the patterns of the URLPatternList of the reference * permission collectively match exactly the same set of patterns * as are matched by the patterns of the URLPatternList of the * argument permission. * <P> * Two Permission objects, P1 and P2, are equivalent if and only if * P1.implies(P2) && P2.implies(P1). * <P> * @param o the WebResourcePermission object being tested for equality * with this WebResourcePermission. * <P> * @return true if the argument WebResourcePermission object is equivalent * to this WebResourcePermission. */ public boolean equals(Object o) { if (o == null || ! (o instanceof WebResourcePermission)) return false; WebResourcePermission that = (WebResourcePermission) o; if (!this.methodSpec.equals(that.methodSpec)) return false; return this.urlPatternSpec.equals(that.urlPatternSpec); }
/** * Checks two WebUserDataPermission objects for equality. * WebUserDataPermission objects are equivalent if their * URLPatternSpec and (canonicalized) actions values are equivalent. * The URLPatternSpec of a reference permission is equivalent to that * of an argument permission if their first patterns are * equivalent, and the patterns of the URLPatternList of the reference * permission collectively match exactly the same set of patterns * as are matched by the patterns of the URLPatternList of the * argument permission. * <P> * Two Permission objects, P1 and P2, are equivalent if and only if * P1.implies(P2) && P2.implies(P1). * <P> * @param o the WebUserDataPermission object being tested for equality * with this WebUserDataPermission. * <P> * @return true if the argument WebUserDataPermission object is equivalent * to this WebUserDataPermission. */ public boolean equals(Object o) { if (o == null || ! (o instanceof WebUserDataPermission)) return false; WebUserDataPermission that = (WebUserDataPermission) o; if (this.transportType != that.transportType) return false; if (!this.methodSpec.equals(that.methodSpec)) return false; return this.urlPatternSpec.equals(that.urlPatternSpec); }
/** * Checks two WebResourcePermission objects for equality. * WebResourcePermission objects are equivalent if their * URLPatternSpec and (canonicalized) actions values are equivalent. * The URLPatternSpec of a reference permission is equivalent to that * of an argument permission if their first patterns are * equivalent, and the patterns of the URLPatternList of the reference * permission collectively match exactly the same set of patterns * as are matched by the patterns of the URLPatternList of the * argument permission. * <P> * Two Permission objects, P1 and P2, are equivalent if and only if * P1.implies(P2) && P2.implies(P1). * <P> * @param o the WebResourcePermission object being tested for equality * with this WebResourcePermission. * <P> * @return true if the argument WebResourcePermission object is equivalent * to this WebResourcePermission. */ public boolean equals(Object o) { if (o == null || ! (o instanceof WebResourcePermission)) return false; WebResourcePermission that = (WebResourcePermission) o; if (!this.methodSpec.equals(that.methodSpec)) return false; return this.urlPatternSpec.equals(that.urlPatternSpec); }
/** * Checks two WebUserDataPermission objects for equality. * WebUserDataPermission objects are equivalent if their * URLPatternSpec and (canonicalized) actions values are equivalent. * The URLPatternSpec of a reference permission is equivalent to that * of an argument permission if their first patterns are * equivalent, and the patterns of the URLPatternList of the reference * permission collectively match exactly the same set of patterns * as are matched by the patterns of the URLPatternList of the * argument permission. * <P> * Two Permission objects, P1 and P2, are equivalent if and only if * P1.implies(P2) && P2.implies(P1). * <P> * @param o the WebUserDataPermission object being tested for equality * with this WebUserDataPermission. * <P> * @return true if the argument WebUserDataPermission object is equivalent * to this WebUserDataPermission. */ public boolean equals(Object o) { if (o == null || ! (o instanceof WebUserDataPermission)) return false; WebUserDataPermission that = (WebUserDataPermission) o; if (this.transportType != that.transportType) return false; if (!this.methodSpec.equals(that.methodSpec)) return false; return this.urlPatternSpec.equals(that.urlPatternSpec); }