类 StringAdvice


  • public final class StringAdvice
    extends Object
    字符串增强工具
    从以下版本开始:
    0.1
    作者:
    qiushui on 2018-09-06.
    • 构造器详细资料

      • StringAdvice

        public StringAdvice()
    • 方法详细资料

      • isEmpty

        public static boolean isEmpty​(String content)
        判断是null和空
        参数:
        content -
        返回:
      • isNotEmpty

        public static boolean isNotEmpty​(String content)
        判断不是null和空
        参数:
        content -
        返回:
      • cutOff

        public static TwoValues<String,​String> cutOff​(String string,
                                                            int index)
        从index位置切断字符串
        参数:
        string -
        index -
        返回: