public class CharsetCollator extends Collator
CANONICAL_DECOMPOSITION, FULL_DECOMPOSITION, IDENTICAL, NO_DECOMPOSITION, PRIMARY, SECONDARY, TERTIARY
Constructor and Description |
---|
CharsetCollator(Charset charset) |
Modifier and Type | Method and Description |
---|---|
int |
compare(String source,
String target) |
Charset |
getCharset() |
CollationKey |
getCollationKey(String source) |
int |
hashCode() |
clone, compare, equals, equals, getAvailableLocales, getDecomposition, getInstance, getInstance, getStrength, setDecomposition, setStrength
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public CharsetCollator(Charset charset)
public Charset getCharset()
public CollationKey getCollationKey(String source)
getCollationKey
in class Collator
Copyright © 2020 JBoss by Red Hat. All rights reserved.