equal
deleted
inserted
replaced
92 * structure, you can roundtrip from a UTF-16 offset to a UTF-32 offset and |
92 * structure, you can roundtrip from a UTF-16 offset to a UTF-32 offset and |
93 * back if and only if <code>bounds(string, offset16) != TRAIL</code>. |
93 * back if and only if <code>bounds(string, offset16) != TRAIL</code>. |
94 * </li> |
94 * </li> |
95 * <li> |
95 * <li> |
96 * <strong>Exceptions:</strong> The error checking will throw an exception |
96 * <strong>Exceptions:</strong> The error checking will throw an exception |
97 * if indices are out of bounds. Other than than that, all methods will |
97 * if indices are out of bounds. Other than that, all methods will |
98 * behave reasonably, even if unmatched surrogates or out-of-bounds UTF-32 |
98 * behave reasonably, even if unmatched surrogates or out-of-bounds UTF-32 |
99 * values are present. <code>UCharacter.isLegal()</code> can be used to check |
99 * values are present. <code>UCharacter.isLegal()</code> can be used to check |
100 * for validity if desired. |
100 * for validity if desired. |
101 * </li> |
101 * </li> |
102 * <li> |
102 * <li> |