Property | Type | Description | |
---|---|---|---|
MIN_SUPPLEMENTARY_CODE_POINT | int |
Method | Description | |
---|---|---|
CharCount ( int codePoint ) : int | ||
CodePointAt ( ICharSequence seq, int index ) : int | ||
CodePointAt ( char high, char low ) : int | ||
CodePointAt ( char a, int index, int limit ) : int | ||
CodePointAt ( string seq, int index ) : int | ||
CodePointCount ( char a, int offset, int count ) : int | ||
CodePointCount ( string seq, int beginIndex, int endIndex ) : int | ||
ForDigit ( int digit, int radix ) : char |
|
|
GetType ( int codePoint ) : UnicodeCategory |
LUCENENET safe way to get unicode category. The .NET char.ConvertFromUtf32(int) method should be used first to be safe for surrogate pairs. However, if the value falls between 0x00d800 and 0x00dfff, that method throws an exception. So this is a wrapper that converts the codepoint to a char in those cases. This mimics the behavior of the Java Character.GetType class, but returns the .NET UnicodeCategory enumeration for easy consumption.
|
|
IsLetter ( int c ) : bool | ||
OffsetByCodePoints ( char a, int start, int count, int index, int codePointOffset ) : int |
Copy of the implementation from Character class in Java http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b27/java/lang/Character.java
|
|
OffsetByCodePoints ( string seq, int index, int codePointOffset ) : int |
Copy of the implementation from Character class in Java http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b27/java/lang/Character.java
|
|
ToChars ( int codePoint ) : char[] | ||
ToChars ( int codePoint, char dst, int dstIndex ) : int | ||
ToCodePoint ( char high, char low ) : int | ||
ToLowerCase ( int codePoint ) : int | ||
ToUpperCase ( int codePoint ) : int |
Method | Description | |
---|---|---|
CodePointAtImpl ( char a, int index, int limit ) : int | ||
CodePointCountImpl ( char a, int offset, int count ) : int | ||
OffsetByCodePointsImpl ( char a, int start, int count, int index, int codePointOffset ) : int |
public static CharCount ( int codePoint ) : int | ||
codePoint | int | |
return | int |
public static CodePointAt ( ICharSequence seq, int index ) : int | ||
seq | ICharSequence | |
index | int | |
return | int |
public static CodePointAt ( char high, char low ) : int | ||
high | char | |
low | char | |
return | int |
public static CodePointAt ( char a, int index, int limit ) : int | ||
a | char | |
index | int | |
limit | int | |
return | int |
public static CodePointAt ( string seq, int index ) : int | ||
seq | string | |
index | int | |
return | int |
public static CodePointCount ( char a, int offset, int count ) : int | ||
a | char | |
offset | int | |
count | int | |
return | int |
public static CodePointCount ( string seq, int beginIndex, int endIndex ) : int | ||
seq | string | |
beginIndex | int | |
endIndex | int | |
return | int |
public static ForDigit ( int digit, int radix ) : char | ||
digit | int | |
radix | int | |
return | char |
public static GetType ( int codePoint ) : UnicodeCategory | ||
codePoint | int | |
return | UnicodeCategory |
public static OffsetByCodePoints ( char a, int start, int count, int index, int codePointOffset ) : int | ||
a | char | |
start | int | |
count | int | |
index | int | |
codePointOffset | int | |
return | int |
public static OffsetByCodePoints ( string seq, int index, int codePointOffset ) : int | ||
seq | string | |
index | int | |
codePointOffset | int | |
return | int |
public static ToChars ( int codePoint ) : char[] | ||
codePoint | int | |
return | char[] |
public static ToChars ( int codePoint, char dst, int dstIndex ) : int | ||
codePoint | int | |
dst | char | |
dstIndex | int | |
return | int |
public static ToCodePoint ( char high, char low ) : int | ||
high | char | |
low | char | |
return | int |
public static ToLowerCase ( int codePoint ) : int | ||
codePoint | int | |
return | int |
public static ToUpperCase ( int codePoint ) : int | ||
codePoint | int | |
return | int |