io.polaris.core.map.CasePascalMap Maven / Gradle / Ivy
package io.polaris.core.map;
import io.polaris.core.string.StringCases;
import java.util.Map;
/**
* @author Qt
* @since 1.8
*/
public class CasePascalMap extends TransformMap {
public CasePascalMap(Map raw) {
super(raw, key -> (K) (key instanceof CharSequence ? StringCases.underlineToPascalCase((CharSequence) key) : key));
}
}