| Compares to two strings.
null values are "sorted" after non-null values.
i.e. compare(null, "something") returns -1
and compare("something", null) returns 1
Parameters: value1 - the first String, maybe null Parameters: value2 - the second String, maybe null 0 if both are null or compareToIgnoreCase() returns 0 See Also: workbench.util.StringUtil#compareStrings(String, String, boolean); |