public class MybatisParamNameCacheGenerator extends Object implements NameGenerator
如:
#{!0},#{!1},#{!2},#{!3},...。
一个新的本类对象会从0开始生成。
有缓存:如同Integer对-128 ~ 127存在缓存一样,
对于前几位名称,不会重复生产字符串,而是将其缓存重用。
public String next()
NameGeneratornext 在接口中 NameGeneratorCopyright © 2020 Pivotal Software, Inc.. All rights reserved.