Uses of Class
com.vladsch.flexmark.util.data.DataKeyBase
-
Packages that use DataKeyBase Package Description com.vladsch.flexmark.experimental.util.data com.vladsch.flexmark.util.ast com.vladsch.flexmark.util.data com.vladsch.flexmark.util.sequence -
-
Uses of DataKeyBase in com.vladsch.flexmark.experimental.util.data
Subclasses of DataKeyBase in com.vladsch.flexmark.experimental.util.data Modifier and Type Class Description class
CollectionDataKey<T>
-
Uses of DataKeyBase in com.vladsch.flexmark.util.ast
Methods in com.vladsch.flexmark.util.ast that return types with arguments of type DataKeyBase Modifier and Type Method Description @NotNull java.util.Map<? extends DataKeyBase<?>,java.lang.Object>
Document. getAll()
@NotNull java.util.Collection<? extends DataKeyBase<?>>
Document. getKeys()
Methods in com.vladsch.flexmark.util.ast with parameters of type DataKeyBase Modifier and Type Method Description boolean
Document. contains(@NotNull DataKeyBase<?> key)
@Nullable java.lang.Object
Document. getOrCompute(@NotNull DataKeyBase<?> key, @NotNull DataValueFactory<?> factory)
@NotNull MutableDataSet
Document. remove(@NotNull DataKeyBase<?> key)
-
Uses of DataKeyBase in com.vladsch.flexmark.util.data
Subclasses of DataKeyBase in com.vladsch.flexmark.util.data Modifier and Type Class Description class
DataKey<T>
NOTE: Constructors have changed in a breaking way from 0.50.x and prior implementationsclass
NullableDataKey<T>
Fields in com.vladsch.flexmark.util.data with type parameters of type DataKeyBase Modifier and Type Field Description protected java.util.HashMap<DataKeyBase<?>,java.lang.Object>
DataSet. dataSet
Methods in com.vladsch.flexmark.util.data that return types with arguments of type DataKeyBase Modifier and Type Method Description @NotNull java.util.Map<? extends DataKeyBase<?>,java.lang.Object>
DataHolder. getAll()
@NotNull java.util.Map<? extends DataKeyBase<?>,java.lang.Object>
DataSet. getAll()
@NotNull java.util.Map<? extends DataKeyBase<?>,java.lang.Object>
MutableScopedDataSet. getAll()
@NotNull java.util.Map<? extends DataKeyBase<?>,java.lang.Object>
ScopedDataSet. getAll()
@NotNull java.util.Collection<? extends DataKeyBase<?>>
DataHolder. getKeys()
@NotNull java.util.Collection<? extends DataKeyBase<?>>
DataSet. getKeys()
@NotNull java.util.Collection<? extends DataKeyBase<?>>
MutableScopedDataSet. getKeys()
@NotNull java.util.Collection<? extends DataKeyBase<?>>
ScopedDataSet. getKeys()
Methods in com.vladsch.flexmark.util.data with parameters of type DataKeyBase Modifier and Type Method Description boolean
DataHolder. contains(@NotNull DataKeyBase<?> key)
boolean
DataSet. contains(@NotNull DataKeyBase<?> key)
boolean
MutableScopedDataSet. contains(@NotNull DataKeyBase<?> key)
boolean
ScopedDataSet. contains(@NotNull DataKeyBase<?> key)
java.lang.Object
DataHolder. getOrCompute(@NotNull DataKeyBase<?> key, @NotNull DataValueFactory<?> factory)
Get key if it exists or compute using supplier@Nullable java.lang.Object
DataSet. getOrCompute(@NotNull DataKeyBase<?> key, @NotNull DataValueFactory<?> factory)
java.lang.Object
MutableDataHolder. getOrCompute(@NotNull DataKeyBase<?> key, @NotNull DataValueFactory<?> factory)
@Nullable java.lang.Object
MutableDataSet. getOrCompute(@NotNull DataKeyBase<?> key, @NotNull DataValueFactory<?> factory)
@Nullable java.lang.Object
MutableScopedDataSet. getOrCompute(@NotNull DataKeyBase<?> key, @NotNull DataValueFactory<?> factory)
@Nullable java.lang.Object
ScopedDataSet. getOrCompute(@NotNull DataKeyBase<?> key, @NotNull DataValueFactory<?> factory)
@NotNull MutableDataHolder
MutableDataHolder. remove(@NotNull DataKeyBase<?> key)
Remove the stored value for the key, used to force to default or to force recompute@NotNull MutableDataSet
MutableDataSet. remove(@NotNull DataKeyBase<?> key)
private <T> MutableDataSet
MutableDataSet. set(@NotNull DataKeyBase<T> key, T value)
Constructors in com.vladsch.flexmark.util.data with parameters of type DataKeyBase Constructor Description DataKeyBase(@NotNull java.lang.String name, @NotNull DataKeyBase<T> defaultKey)
Creates a NullableDataKey with a dynamic default value taken from a value of another keyNullableDataKey(@NotNull java.lang.String name, @NotNull DataKeyBase<T> defaultKey)
Creates a NullableDataKey with a dynamic default value taken from a value of another key -
Uses of DataKeyBase in com.vladsch.flexmark.util.sequence
Methods in com.vladsch.flexmark.util.sequence with parameters of type DataKeyBase Modifier and Type Method Description <T> T
BasedOptionsHolder. getOption(DataKeyBase<T> dataKey)
Options holder, default has none, only available on BasedSequenceWithOptions<T> T
BasedOptionsSequence. getOption(DataKeyBase<T> dataKey)
<T> T
BasedSequence.EmptyBasedSequence. getOption(DataKeyBase<T> dataKey)
<T> T
CharSubSequence. getOption(DataKeyBase<T> dataKey)
<T> T
MappedBasedSequence. getOption(DataKeyBase<T> dataKey)
<T> T
PrefixedSubSequence. getOption(DataKeyBase<T> dataKey)
<T> T
SegmentedSequence. getOption(DataKeyBase<T> dataKey)
<T> T
SubSequence. getOption(@NotNull DataKeyBase<T> dataKey)
-