Interface DefinitionFeatureParser.Marker<X>

All Superinterfaces:
DefinitionFeatureParser<Boolean,X>
Enclosing interface:
DefinitionFeatureParser<V,S>

public static interface DefinitionFeatureParser.Marker<X> extends DefinitionFeatureParser<Boolean,X>
Special parser for "marker" boolean values, like `a:container`.
  • Method Details

    • hasMark

      default boolean hasMark(@Nullable X source)
      Returns true if the source has the mark, false otherwise. So, it's not nullable.