public final class CanonicalIterator extends Object
1: {A}{RING ABOVE}{d}{DOT ABOVE}{CEDILLA}
2: {A}{RING ABOVE}{d}{CEDILLA}{DOT ABOVE}
3: {A}{RING ABOVE}{d WITH DOT ABOVE}{CEDILLA}
4: {A}{RING ABOVE}{d WITH CEDILLA}{DOT ABOVE}
5: {A WITH RING ABOVE}{d}{DOT ABOVE}{CEDILLA}
6: {A WITH RING ABOVE}{d}{CEDILLA}{DOT ABOVE}
7: {A WITH RING ABOVE}{d WITH DOT ABOVE}{CEDILLA}
8: {A WITH RING ABOVE}{d WITH CEDILLA}{DOT ABOVE}
9: {ANGSTROM SIGN}{d}{DOT ABOVE}{CEDILLA}
10: {ANGSTROM SIGN}{d}{CEDILLA}{DOT ABOVE}
11: {ANGSTROM SIGN}{d WITH DOT ABOVE}{CEDILLA}
12: {ANGSTROM SIGN}{d WITH CEDILLA}{DOT ABOVE}
| Constructor and Description |
|---|
CanonicalIterator(String source)
Construct a CanonicalIterator object
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSource()
Gets the NFD form of the current source we are iterating over.
|
String |
next()
Get the next canonically equivalent string.
|
static void |
permute(String source,
boolean skipZeros,
Set<String> output)
Deprecated.
This API is ICU internal only.
|
void |
reset()
Resets the iterator so that one can start again from the beginning.
|
void |
setSource(String newSource)
Set a new source for this iterator.
|
public CanonicalIterator(String source)
source - string to get results forpublic String getSource()
public void reset()
public String next()
public void setSource(String newSource)
newSource - the source string to iterate against. This allows the same iterator to be used
while changing the source string, saving object creation.@Deprecated public static void permute(String source, boolean skipZeros, Set<String> output)
source - the string to find permutations forskipZeros - set to true to skip characters with canonical combining class zerooutput - the set to add the results toCopyright © 2016 Unicode, Inc. and others.