public Trie2Writable setRange ( Trie2 . Range range , boolean overwrite ) { fHash = 0 ; if ( range . leadSurrogate ) { for ( int c = range . startCodePoint ; c <= range . endCodePoint ; c ++ ) { if ( overwrite || getFromU16SingleLead ( ( char ) c ) == this . initialValue ) { setForLeadSurrogateCodeUnit ( ( char ) c , range . value ) ; } } } else { setRange ( range . startCodePoint , range . endCodePoint , range . value , overwrite ) ; } return this ; }
Set the values from a Trie2 . Range .