CharacterReplacementPair

Inheritance: java.lang.Object

public class CharacterReplacementPair

Represents a character/replacement pair.

Constructors

Constructor Description
CharacterReplacementPair(char character, char replacement) Initializes a new instance of the CharacterReplacementPair class.

Methods

Method Description
getCharacter() Gets the character.
getReplacement() Gets the replacement.

CharacterReplacementPair(char character, char replacement)

public CharacterReplacementPair(char character, char replacement)

Initializes a new instance of the CharacterReplacementPair class.

Parameters:

Parameter Type Description
character char The character to be replaced.
replacement char The replacement.

getCharacter()

public final char getCharacter()

Gets the character.

Returns: char - The character.

getReplacement()

public final char getReplacement()

Gets the replacement.

Returns: char - The replacement.