Interface BasedOptionsHolder

    • Field Detail

      • F_COLLECT_SEGMENTED_STATS

        static final int F_COLLECT_SEGMENTED_STATS
      • F_COLLECT_FIRST256_STATS

        static final int F_COLLECT_FIRST256_STATS
      • F_NO_ANCHORS

        static final int F_NO_ANCHORS
      • F_FULL_SEGMENTED_SEQUENCES

        static final int F_FULL_SEGMENTED_SEQUENCES
      • F_TREE_SEGMENTED_SEQUENCES

        static final int F_TREE_SEGMENTED_SEQUENCES
      • SEGMENTED_STATS

        static final com.vladsch.flexmark.util.data.NullableDataKey<SegmentedSequenceStats> SEGMENTED_STATS
    • Method Detail

      • optionsToString

        static String optionsToString​(int options)
      • getOptionFlags

        int getOptionFlags()
        Options test for options for this sequence

        default reports true for global default options (if any) , variation available on BasedSequenceWithOptions

        Returns:
        option flags for this sequence
      • allOptions

        boolean allOptions​(int options)
        Options test for options for this sequence

        default reports true for global default options (if any) , variation available on BasedSequenceWithOptions

        Parameters:
        options - option flags
        Returns:
        true if all option flags passed are set for this sequence
      • anyOptions

        boolean anyOptions​(int options)
        Options test for options for this sequence

        default reports true for global default options (if any) , variation available on BasedSequenceWithOptions

        Parameters:
        options - option flags
        Returns:
        true if any option flags passed are set for this sequence
      • getOption

        @Nullable
        <T> T getOption​(com.vladsch.flexmark.util.data.DataKeyBase<T> dataKey)
        Options holder, default has none, only available on BasedSequenceWithOptions
        Type Parameters:
        T - type of value held by key
        Parameters:
        dataKey - in options
        Returns:
        true if data key is available
      • getOptions

        @Nullable
        @Nullable com.vladsch.flexmark.util.data.DataHolder getOptions()
        Options holder, default has none, only available on BasedSequenceWithOptions
        Returns:
        data holder with options or null if none for this sequence