package com.jn.langx.util.function.mapper.literal;

import com.jn.langx.util.converter.ConverterService;
import com.jn.langx.util.function.mapper.StringLiteralMapper;

public class ToLongMapper implements StringLiteralMapper<Long> {
    @Override
    public Long apply(String value) {
        return ConverterService.DEFAULT.convert(value, Long.class);
    }
}
