@ Override public int getFromU16SingleLead ( char codeUnit ) { int value ; int ix ; ix = index [ codeUnit >> UTRIE2_SHIFT_2 ] ; ix = ( ix << UTRIE2_INDEX_SHIFT ) + ( codeUnit & UTRIE2_DATA_MASK ) ; value = data32 [ ix ] ; return value ; }
Get a Trie2 value for a UTF - 16 code unit .