Top Fields Constructors Methods
com.vladsch.flexmark.experimental.util.mappers

public Class BlockClassifier

extends Object
implements Function<Block, Class<? extends Block>>
Class Inheritance
All Implemented Interfaces
java.util.function.Function
Imports
com.vladsch.flexmark.util.ast.Block, java.util.function.Function

Field Summary

Modifier and TypeField and Description
public static final BlockClassifier

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public Class<? extends Block>
apply(Block
the function argument
value
)

Implements java.util.function.Function.apply.

Applies this function to the given argument.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final BlockClassifier INSTANCE

Constructor Detail

BlockClassifierback to summary
private BlockClassifier()

Method Detail

applyback to summary
public Class<? extends Block> apply(Block value)

Implements java.util.function.Function.apply.

Doc from java.util.function.Function.apply.

Applies this function to the given argument.

Parameters
value:Block

the function argument

Returns:Class<? extends Block>

the function result

Annotations
@Override