public final class PolicyComparator extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
compare(All arg1,
All arg2) |
static boolean |
compare(Assertion arg1,
Assertion arg2) |
static boolean |
compare(ExactlyOne arg1,
ExactlyOne arg2) |
static boolean |
compare(PolicyComponent arg1,
PolicyComponent arg2)
Returns
true if the two PolicyComponents have the same
semantics. |
static boolean |
compare(Policy arg1,
Policy arg2)
Returns
true if the two policies have the same semantics |
public static boolean compare(Policy arg1, Policy arg2)
true if the two policies have the same semanticsarg1 - a Policyarg2 - an another Policytrue if both policies have the same semanticspublic static boolean compare(PolicyComponent arg1, PolicyComponent arg2)
true if the two PolicyComponents have the same
semantics.arg1 - a PolicyComponentarg2 - an another PolicyComponenttrue if both PolicyComponents have the same semanticspublic static boolean compare(ExactlyOne arg1, ExactlyOne arg2)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.