Class ConvertToMapAccessor

java.lang.Object
io.prometheus.jmx.common.configuration.ConvertToMapAccessor
All Implemented Interfaces:
Function<Object,YamlMapAccessor>

public class ConvertToMapAccessor extends Object implements Function<Object,YamlMapAccessor>
Class to convert an Object to a Map, throwing a RuntimeException from the Supplier if there is a ClassCastException