@ Deprecated public static boolean onCharacterBoundary ( CharSequence s , int i ) { return i <= 0 || i >= s . length ( ) || ! Character . isHighSurrogate ( s . charAt ( i - 1 ) ) || ! Character . isLowSurrogate ( s . charAt ( i ) ) ; }
Are we on a character boundary?