class TypeUtils {

    public static char castToChar(@Nonnull Object value) {
        requireNonNull(value, ERROR_VALUE_NULL);
        if (value instanceof Character) {
            return (Character) value;
        }
        return String.valueOf(value).charAt(0);
    }

    private  TypeUtils();

}