|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.policy.privateutil.PolicyUtils.Comparison
public static class PolicyUtils.Comparison
| Field Summary | |
|---|---|
static java.util.Comparator<javax.xml.namespace.QName> |
QNAME_COMPARATOR
The comparator comapres QName objects according to their publicly accessible attributes, in the following order of attributes: 1. |
| Constructor Summary | |
|---|---|
PolicyUtils.Comparison()
|
|
| Method Summary | |
|---|---|
static int |
compareBoolean(boolean b1,
boolean b2)
Compares two boolean values in the following way: false < true |
static int |
compareNullableStrings(java.lang.String s1,
java.lang.String s2)
Compares two String values, that may possibly be null in the following way: null < "string value" |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.util.Comparator<javax.xml.namespace.QName> QNAME_COMPARATOR
| Constructor Detail |
|---|
public PolicyUtils.Comparison()
| Method Detail |
|---|
public static int compareBoolean(boolean b1,
boolean b2)
false < true
-1 if b1 < b2, 0 if b1 == b2, 1 if b1 > b2
public static int compareNullableStrings(java.lang.String s1,
java.lang.String s2)
null < "string value"
-1 if s1 < s2, 0 if s1 == s2, 1 if s1 > s2
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||