public class CompareModeIcu4J extends CompareMode
| 限定符 | 构造器和说明 |
|---|---|
protected |
CompareModeIcu4J(String name,
int strength,
boolean binaryUnsigned) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
compareString(String a,
String b,
boolean ignoreCase)
Compare two strings.
|
boolean |
equalsChars(String a,
int ai,
String b,
int bi,
boolean ignoreCase)
Compare two characters in a string.
|
equals, getCollator, getInstance, getInstance, getName, getName, getStrength, hashCode, isBinaryUnsignedprotected CompareModeIcu4J(String name, int strength, boolean binaryUnsigned)
public int compareString(String a, String b, boolean ignoreCase)
CompareModecompareString 在类中 CompareModea - the first stringb - the second stringignoreCase - true if a case-insensitive comparison should be madepublic boolean equalsChars(String a, int ai, String b, int bi, boolean ignoreCase)
CompareModeequalsChars 在类中 CompareModea - the first stringai - the character index in the first stringb - the second stringbi - the character index in the second stringignoreCase - true if a case-insensitive comparison should be madeCopyright © 2017. All rights reserved.