public interface CharacterReplacementDictionary extends DictionaryBase, Iterable<Character>
Learn more
| Modifier and Type | Method and Description |
|---|---|
void |
addRange(CharacterReplacementPair[] characterReplacements)
Adds the specified collection of character replacements to this instance of the
CharacterReplacementDictionary. |
void |
addRange(Iterable<CharacterReplacementPair> characterReplacements)
Adds the specified collection of character replacements to this instance of the
CharacterReplacementDictionary. |
void |
clear()
Removes all character replacements from a
CharacterReplacementDictionary object. |
boolean |
contains(char character)
Determines whether a
CharacterReplacementDictionary object contains a replacement for the specified character. |
int |
getCount()
Gets the number of characters contained in this
CharacterReplacementDictionary. |
char |
getReplacement(char character)
Gets a replacement for the specified character.
|
Iterator<Character> |
iterator()
Returns an iterator that iterates through the collection.
|
void |
removeRange(char[] characters)
Removes the specified collection of character replacements from this instance of the
CharacterReplacementDictionary. |
exportDictionary, getDictionaryType, importDictionaryforEach, spliteratorvoid addRange(CharacterReplacementPair[] characterReplacements)
CharacterReplacementDictionary.characterReplacements - The collection of character replacements to add to the dictionary.void addRange(Iterable<CharacterReplacementPair> characterReplacements)
CharacterReplacementDictionary.characterReplacements - The collection of character replacements to add to the dictionary.void clear()
CharacterReplacementDictionary object.clear in interface DictionaryBaseboolean contains(char character)
CharacterReplacementDictionary object contains a replacement for the specified character.character - The character to locate in the CharacterReplacementDictionary object.true if the CharacterReplacementDictionary object contains the specified character;
otherwise, false.int getCount()
CharacterReplacementDictionary.char getReplacement(char character)
character - The character to get a replacement for.void removeRange(char[] characters)
CharacterReplacementDictionary.characters - The collection of characters to remove.Copyright © 2026. All rights reserved.