(boolean usNull, int usVal, boolean themNull, int themVal)
| 1004 | } |
| 1005 | |
| 1006 | protected int compare(boolean usNull, int usVal, boolean themNull, int themVal) { |
| 1007 | if (usNull && themNull) { |
| 1008 | return 0; |
| 1009 | } else if (themNull) { |
| 1010 | return 1; |
| 1011 | } else if (usNull) { |
| 1012 | return -1; |
| 1013 | } |
| 1014 | return compare(usVal, themVal); |
| 1015 | } |
| 1016 | |
| 1017 | protected int compare(int val, int themVal) { |
| 1018 | return val == themVal ? 0 : (val > themVal ? 1 : -1); |
no test coverage detected