Class CharSetOfFew

java.lang.Object
ch.randelshofer.fastdoubleparser.chr.CharSetOfFew
All Implemented Interfaces:
CharSet

final class CharSetOfFew extends Object implements CharSet
A set of char with linear search.
  • Field Details

    • chars

      private final char[] chars
  • Constructor Details

  • Method Details

    • containsKey

      public boolean containsKey(char ch)
      Description copied from interface: CharSet
      Returns true if the set contains the specified character.
      Specified by:
      containsKey in interface CharSet
      Parameters:
      ch - a character
      Returns:
      true if the byte is in the set