private static int getMask ( int strength ) { switch ( strength ) { case Collator . PRIMARY : return PRIMARYORDERMASK ; case Collator . SECONDARY : return SECONDARYORDERMASK | PRIMARYORDERMASK ; default : return TERTIARYORDERMASK | SECONDARYORDERMASK | PRIMARYORDERMASK ; } }
Getting the mask for collation strength