Class MinLengthShortCodeServiceImpl

java.lang.Object
icu.easyj.core.util.shortcode.impls.DefaultShortCodeServiceImpl
icu.easyj.core.util.shortcode.impls.MinLengthShortCodeServiceImpl
All Implemented Interfaces:
IShortCodeService

@LoadLevel(name="min-length", order=100) public class MinLengthShortCodeServiceImpl extends DefaultShortCodeServiceImpl
long型ID 与 短字符串 互相转换服务
基于默认实现的基础上,添加最小长度的功能
Author:
wangliang181230
  • Field Details

  • Constructor Details

    • MinLengthShortCodeServiceImpl

      public MinLengthShortCodeServiceImpl(char[] charTable, char separator, int minLength, boolean needCheckSeparator)
      构造函数
      Parameters:
      charTable - 字符集
      separator - 分隔字符
      minLength - 最小长度
      needCheckSeparator - 是否校验分隔符的有效性
    • MinLengthShortCodeServiceImpl

      public MinLengthShortCodeServiceImpl(char[] charTable, char separator, int minLength)
    • MinLengthShortCodeServiceImpl

      public MinLengthShortCodeServiceImpl(char[] charTable, char separator)
    • MinLengthShortCodeServiceImpl

      public MinLengthShortCodeServiceImpl()
  • Method Details