public class StaticUnicodeSets extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StaticUnicodeSets.Key |
| Constructor and Description |
|---|
StaticUnicodeSets() |
| Modifier and Type | Method and Description |
|---|---|
static StaticUnicodeSets.Key |
chooseCurrency(String str)
Looks through all Currency-related sets for the given string, returning the first match or null if
no match was round.
|
static StaticUnicodeSets.Key |
chooseFrom(String str,
StaticUnicodeSets.Key key1)
Checks if the UnicodeSet given by key1 contains the given string.
|
static StaticUnicodeSets.Key |
chooseFrom(String str,
StaticUnicodeSets.Key key1,
StaticUnicodeSets.Key key2)
Checks if the UnicodeSet given by either key1 or key2 contains the string.
|
static UnicodeSet |
get(StaticUnicodeSets.Key key)
Gets the static-allocated UnicodeSet according to the provided key.
|
public static UnicodeSet get(StaticUnicodeSets.Key key)
key - The desired UnicodeSet according to the enum in this file.public static StaticUnicodeSets.Key chooseFrom(String str, StaticUnicodeSets.Key key1)
str - The string to check.key1 - The set to check.public static StaticUnicodeSets.Key chooseFrom(String str, StaticUnicodeSets.Key key1, StaticUnicodeSets.Key key2)
str - The string to check.key1 - The first set to check.key2 - The second set to check.public static StaticUnicodeSets.Key chooseCurrency(String str)