
com.vladsch.flexmark.experimental.util.mappers.BlockClassifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flexmark-util-experimental Show documentation
Show all versions of flexmark-util-experimental Show documentation
Contains experimental classes that may or may not work in all cases. Use at your own risk.
The newest version!
package com.vladsch.flexmark.experimental.util.mappers;
import com.vladsch.flexmark.util.ast.Block;
import java.util.function.Function;
public class BlockClassifier implements Function> {
final public static BlockClassifier INSTANCE = new BlockClassifier();
private BlockClassifier() {
}
@Override
public Class extends Block> apply(Block value) {
return value.getClass();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy