Enum Class Segment.SegType

java.lang.Object
java.lang.Enum<Segment.SegType>
com.vladsch.flexmark.util.sequence.builder.tree.Segment.SegType
All Implemented Interfaces:
Serializable, Comparable<Segment.SegType>, Constable
Enclosing class:
Segment

public static enum Segment.SegType extends Enum<Segment.SegType>
  • Enum Constant Details

  • Field Details

    • flags

      public final int flags
  • Constructor Details

    • SegType

      private SegType(int flags)
  • Method Details

    • values

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

      public static Segment.SegType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • hasAll

      public boolean hasAll(int flags)
    • hasLength

      public boolean hasLength()
    • hasOffset

      public boolean hasOffset()
    • hasBoth

      public boolean hasBoth()
    • hasChar

      public boolean hasChar()
    • hasChars

      public boolean hasChars()
    • hasByte

      public boolean hasByte()
    • hasBytes

      public boolean hasBytes()
    • fromTypeMask

      public static Segment.SegType fromTypeMask(int segTypeMask)