public static class PolicyUtils.Comparison extends Object
| Modifier and Type | Field | Description |
|---|---|---|
static Comparator<QName> |
QNAME_COMPARATOR |
The comparator comapres QName objects according to their publicly accessible attributes, in the following
order of attributes:
1.
|
| Constructor | Description |
|---|---|
Comparison() |
| Modifier and Type | Method | Description |
|---|---|---|
static int |
compareBoolean(boolean b1,
boolean b2) |
Compares two boolean values in the following way:
false < true |
static int |
compareNullableStrings(String s1,
String s2) |
Compares two String values, that may possibly be null in the following way:
null < "string value" |
public static final Comparator<QName> QNAME_COMPARATOR
Copyright © 2006–2018 Oracle Corporation. All rights reserved.