public final class CharUtilities extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isSubScript(char c)
Determines whether the character is a subscript.
|
static boolean |
isSuperScript(char c)
Determines whether the character is a superscript.
|
static char |
toNormalScript(char c)
Converts the character argument to normal script.
|
static char |
toSubScript(char c)
Converts the character argument to subscript.
|
static char |
toSuperScript(char c)
Converts the character argument to superscript.
|
public static boolean isSuperScript(char c)
⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷
⁸ ⁹ ⁺ ⁻ ⁼ ⁽ ⁾ ⁿ
public static boolean isSubScript(char c)
₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇
₈ ₉ ₊ ₋ ₌ ₍ ₎
public static char toSuperScript(char c)
0 1 2 3 4 5 6 7 8 9 + - = ( ) n
public static char toSubScript(char c)
0 1 2 3 4 5 6 7 8 9 + - = ( ) n
public static char toNormalScript(char c)
Copyright © 1996–2019 Geotools. All rights reserved.