// Both are null
compare = 0;
} else {
// param1 = null, so is less than a non-null
compare = -1;
NullOrdering no = getNullOrdering(k);
if (no != null) {
if (nullOrdering.get(k) == NullOrdering.FIRST) {
return -1;
}
return 1;
}
}
} else if( param2 == null ) {
// param1 != null, param2 == null
compare = 1;
NullOrdering no = getNullOrdering(k);
if (no != null) {
if (nullOrdering.get(k) == NullOrdering.FIRST) {
return 1;
}
return -1;