|
private static final java.text.Collator COLLATOR = java.text.Collator.getInstance();
private static final String[] NORM_STRINGS = new String['z' - 'a' + 1];
{
COLLATOR.setStrength(Collator.PRIMARY);
for (char b = 'a'; b <= 'z'; b++)
{
NORM_STRINGS[b - 'a'] = new String(new char[] { b });
}
}
|
|
|
|
|
what do you want to do with this?
|
|
|
|
|
Well the code is self explainatory.
What I am really concerned about the block of code after statement termination character ';' - can this block of code be written the same way in C# or can be written in a function instead.
|
|
|
|