Enum FSTFlags

  • All Implemented Interfaces:
    Serializable, Comparable<FSTFlags>, java.lang.constant.Constable

    public enum FSTFlags
    extends Enum<FSTFlags>
    FST automaton flags. Where applicable, flags follow Daciuk's FST package.
    • Enum Constant Detail

      • FLEXIBLE

        public static final FSTFlags FLEXIBLE
        Daciuk: flexible FST encoding.
      • STOPBIT

        public static final FSTFlags STOPBIT
        Daciuk: stop bit in use.
      • NEXTBIT

        public static final FSTFlags NEXTBIT
        Daciuk: next bit in use.
      • SEPARATORS

        public static final FSTFlags SEPARATORS
        The FST supports legacy built-in separator and filler characters (Daciuk's FST package compatibility).
    • Field Detail

      • _bits

        public final int _bits
        Bit mask for the corresponding flag.
    • Method Detail

      • values

        public static FSTFlags[] values()
        Returns an array containing the constants of this enum type, in the order they are declared.
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FSTFlags valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null