public interface BasedOptionsHolder
BasedSequence.of(CharSequence) and options enabled in it
will be accessible to all based sequences or uses of these for testing for options or getting options.
Only works with SubSequence base not CharArraySequence
| Modifier and Type | Interface and Description |
|---|---|
static class |
BasedOptionsHolder.Options |
| Modifier and Type | Field and Description |
|---|---|
static int |
F_APPLICATION_OPTIONS |
static int |
F_COLLECT_FIRST256_STATS |
static int |
F_COLLECT_SEGMENTED_STATS |
static int |
F_FULL_SEGMENTED_SEQUENCES |
static int |
F_LIBRARY_OPTIONS |
static int |
F_NO_ANCHORS |
static int |
F_TREE_SEGMENTED_SEQUENCES |
static BasedOptionsHolder.Options |
O_COLLECT_FIRST256_STATS |
static BasedOptionsHolder.Options |
O_COLLECT_SEGMENTED_STATS |
static BasedOptionsHolder.Options |
O_FULL_SEGMENTED_SEQUENCES |
static BasedOptionsHolder.Options |
O_NO_ANCHORS |
static BasedOptionsHolder.Options |
O_TREE_SEGMENTED_SEQUENCES |
static com.vladsch.flexmark.util.data.NullableDataKey<SegmentedSequenceStats> |
SEGMENTED_STATS |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allOptions(int options)
Options test for options for this sequence
|
boolean |
anyOptions(int options)
Options test for options for this sequence
|
<T> T |
getOption(com.vladsch.flexmark.util.data.DataKeyBase<T> dataKey)
Options holder, default has none, only available on BasedSequenceWithOptions
|
int |
getOptionFlags()
Options test for options for this sequence
|
@Nullable com.vladsch.flexmark.util.data.DataHolder |
getOptions()
Options holder, default has none, only available on BasedSequenceWithOptions
|
static String |
optionsToString(int options) |
static final BasedOptionsHolder.Options O_COLLECT_SEGMENTED_STATS
static final BasedOptionsHolder.Options O_COLLECT_FIRST256_STATS
static final BasedOptionsHolder.Options O_NO_ANCHORS
static final BasedOptionsHolder.Options O_FULL_SEGMENTED_SEQUENCES
static final BasedOptionsHolder.Options O_TREE_SEGMENTED_SEQUENCES
static final int F_COLLECT_SEGMENTED_STATS
static final int F_COLLECT_FIRST256_STATS
static final int F_NO_ANCHORS
static final int F_FULL_SEGMENTED_SEQUENCES
static final int F_TREE_SEGMENTED_SEQUENCES
static final int F_LIBRARY_OPTIONS
static final int F_APPLICATION_OPTIONS
static final com.vladsch.flexmark.util.data.NullableDataKey<SegmentedSequenceStats> SEGMENTED_STATS
static String optionsToString(int options)
int getOptionFlags()
default reports true for global default options (if any) , variation available on BasedSequenceWithOptions
boolean allOptions(int options)
default reports true for global default options (if any) , variation available on BasedSequenceWithOptions
options - option flagsboolean anyOptions(int options)
default reports true for global default options (if any) , variation available on BasedSequenceWithOptions
options - option flags@Nullable <T> T getOption(com.vladsch.flexmark.util.data.DataKeyBase<T> dataKey)
T - type of value held by keydataKey - in options@Nullable @Nullable com.vladsch.flexmark.util.data.DataHolder getOptions()
Copyright © 2020. All rights reserved.