public class CharsetCollator
extends java.text.Collator
| Constructor and Description |
|---|
CharsetCollator(java.nio.charset.Charset charset) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.lang.String source,
java.lang.String target) |
java.nio.charset.Charset |
getCharset() |
java.text.CollationKey |
getCollationKey(java.lang.String source) |
int |
hashCode() |
clone, compare, equals, equals, getAvailableLocales, getDecomposition, getInstance, getInstance, getStrength, setDecomposition, setStrengthpublic java.nio.charset.Charset getCharset()
public int compare(java.lang.String source,
java.lang.String target)
compare in class java.text.Collatorpublic java.text.CollationKey getCollationKey(java.lang.String source)
getCollationKey in class java.text.Collatorpublic int hashCode()
hashCode in class java.text.Collator