Jvppeteer

StringUtil

package com.ruiyun.jvppeteer.util;

isNotEmpty()字符串不为空

    @Test
    public void testIsNotEmpty(){
        System.out.println(StringUtil.isNotEmpty(""));//false
        System.out.println(StringUtil.isNotEmpty(null));//false
        System.out.println(StringUtil.isNotEmpty("love"));//true
    }
posted @ 2021-07-28 13:42  懒鑫人  阅读(636)  评论(0编辑  收藏  举报