@ Deprecated public long [ ] internalGetCEs ( CharSequence str ) { CollationBuffer buffer = null ; try { buffer = getCollationBuffer ( ) ; boolean numeric = settings . readOnly ( ) . isNumeric ( ) ; CollationIterator iter ; if ( settings . readOnly ( ) . dontCheckFCD ( ) ) { buffer . leftUTF16CollIter . setText ( numeric , str , 0 ) ; iter = buffer . leftUTF16CollIter ; } else { buffer . leftFCDUTF16Iter . setText ( numeric , str , 0 ) ; iter = buffer . leftFCDUTF16Iter ; } int length = iter . fetchCEs ( ) - 1 ; assert length >= 0 && iter . getCE ( length ) == Collation . NO_CE ; long [ ] ces = new long [ length ] ; System . arraycopy ( iter . getCEs ( ) , 0 , ces , 0 , length ) ; return ces ; } finally { releaseCollationBuffer ( buffer ) ; } }
Returns the CEs for the string .