Class CharacterTool
java.lang.Object
ch.nolix.base.commontypetool.charactertool.CharacterTool
- All Implemented Interfaces:
ICharacterTool
- Author:
- Silvan Wyss
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisDigit(char character) booleanisHexadecimalDigit(char character)
-
Constructor Details
-
CharacterTool
public CharacterTool()
-
-
Method Details
-
isDigit
public boolean isDigit(char character) - Specified by:
isDigitin interfaceICharacterTool- Parameters:
character-- Returns:
- true if the given character is a digit, false otherwise.
-
isHexadecimalDigit
public boolean isHexadecimalDigit(char character) - Specified by:
isHexadecimalDigitin interfaceICharacterTool- Parameters:
character-- Returns:
- true if the given character is a hexadecimal digit, false otherwise.
-