Class CharTable


  • public class CharTable
    extends Object
    Class contains tools for char processing.
    Author:
    Timur Kamalov
    • Constructor Detail

      • CharTable

        public CharTable()
    • Method Detail

      • isSpace

        public static boolean isSpace​(int c)
        Checks if character is a space character.
        Parameters:
        c - is character to check.
        Returns:
        true if c is a space character.
      • isTokenDelimiter

        public static boolean isTokenDelimiter​(int c)
        Checks if given character is a token delimiter.
        Parameters:
        c - is a character to check.
        Returns:
        true if c is a token delimiter.
      • isRegular

        public static boolean isRegular​(int c)
        Checks if given character is not a space and not a token delimiter.
        Parameters:
        c - is a character to check.
        Returns:
        true if c is a regular character.