Class OkkamChars


  • public class OkkamChars
    extends Object
    • Method Detail

      • isBetween

        public static boolean isBetween​(char start,
                                        char end,
                                        char toCheck)
        Check if a char is between a range.
        Parameters:
        start - The begin of the range
        end - The end of the range
        toCheck - The element to check
        Returns:
        The check result
      • isStrictBetween

        public static boolean isStrictBetween​(char start,
                                              char end,
                                              char toCheck)
        Check if a char is strict between a range.
        Parameters:
        start - The begin of the range
        end - The end of the range
        toCheck - The element to check
        Returns:
        The check result