(char c1, char c2, boolean caseIndependent)
| 1651 | /// @return negative, 0, or positive integer as the first character |
| 1652 | /// less than, equal to, or greater then the second. |
| 1653 | private int compareChars(char c1, char c2, boolean caseIndependent) { |
| 1654 | if (caseIndependent) { |
| 1655 | c1 = RECharacter.toLowerCase(c1); |
| 1656 | c2 = RECharacter.toLowerCase(c2); |
| 1657 | } |
| 1658 | return ((int) c1 - (int) c2); |
| 1659 | } |
| 1660 | } |
no test coverage detected