当前位置: 首页 > news >正文

营销型网站怎么收费标准网站推广营销的步骤

营销型网站怎么收费标准,网站推广营销的步骤,html模板框架,wordpress 文章归档页面前言 相信平时在写项目的时候,一定使用到StringUtils.isEmpty();StringUtils.isBlank();但是你真的了解他们吗? 也许你两个都不知道,也许你除了isEmpty/isNotEmpty/isNotBlank/isBlank外,并不知道还有isAnyEmpty/isNon…

 前言

相信平时在写项目的时候,一定使用到StringUtils.isEmpty();StringUtils.isBlank();但是你真的了解他们吗?

也许你两个都不知道,也许你除了isEmpty/isNotEmpty/isNotBlank/isBlank外,并不知道还有isAnyEmpty/isNoneEmpty/isAnyBlank/isNoneBlank的存在。

 maven对应的包:

        <dependency><groupId>org.apache.commons</groupId><artifactId>commons-lang3</artifactId><version>3.17.0</version></dependency>

 maven坐标:https://mvnrepository.com/

一、isEmpty()系列

     isEmpty():会绕过空值的判断

    @Testpublic void testStringUtils(){boolean empty = StringUtils.isEmpty(null);System.out.println(empty);//trueboolean empty1 = StringUtils.isEmpty("");System.out.println(empty1);//true//字符串时空,但是输出的是falseboolean empty2 = StringUtils.isEmpty(" ");System.out.println(empty2);//falseboolean empty3 = StringUtils.isEmpty("HelloWorld!");System.out.println(empty3);//falseboolean empty4 = StringUtils.isEmpty(" HelloWorld! ");System.out.println(empty4);//false}

 源码:

    @Deprecatedpublic static boolean isEmpty(@Nullable Object str) {return str == null || "".equals(str);}

 @Deprecated注解:标记该方法过时了,在以后得版本中可能会被代替。

isNotEmpty():相当于不为空

    public static boolean isNotEmpty(final CharSequence cs) {return !isEmpty(cs);}


isAnyEmpty():只要有一个为空,就是true

    @Testpublic void testStringUtils(){System.out.println(StringUtils.isAnyEmpty("Hello", "World"));//falseSystem.out.println(StringUtils.isAnyEmpty(null, "HelloWorld"));//trueSystem.out.println(StringUtils.isAnyEmpty("", " "));//trueSystem.out.println(StringUtils.isAnyEmpty(" ", " "));//false}

源码:

public static boolean isAnyEmpty(final CharSequence... css) {if (ArrayUtils.isEmpty(css)) {return true;}for (final CharSequence cs : css){if (isEmpty(cs)) {return true;}}return false;
}


isNoneEmpty():相当于!isAnyEmpty(css) , 必须所有的值都不为空才返回true

    @Testpublic void testStringUtils(){System.out.println(StringUtils.isNoneEmpty("Hello", "World"));//trueSystem.out.println(StringUtils.isNoneEmpty(null, "HelloWorld"));//falseSystem.out.println(StringUtils.isNoneEmpty("", " "));//falseSystem.out.println(StringUtils.isNoneEmpty(" ", " "));//true}

二、isBank()系列

和isEmpty()基本一样,但是判断"   "的时候,结果不一样。

     @Testpublic void testStringUtils(){boolean empty2 = StringUtils.isBlank(" ");System.out.println(empty2);//true}

 三、常用的方法

equals():严格的比较两个字符串是不是相等

    @Testpublic void testStringUtils(){System.out.println(StringUtils.equals("HelloWorld", "HelloWorld"));//trueSystem.out.println(StringUtils.equals("", "   "));//falseSystem.out.println(StringUtils.equals("  HelloWorld  ", "HelloWorld"));//falseSystem.out.println(StringUtils.equals("  ", "    "));//falseSystem.out.println(StringUtils.equals("", ""));//trueSystem.out.println(StringUtils.equals(" ", " "));//trueSystem.out.println(StringUtils.equals("",null));//falseSystem.out.println(StringUtils.equals("  ",null));//false}

四、其他的方法


文章转载自:
http://battlements.bsdw.cn
http://gpl.bsdw.cn
http://hypopnea.bsdw.cn
http://trunk.bsdw.cn
http://uniparous.bsdw.cn
http://littermate.bsdw.cn
http://stadium.bsdw.cn
http://born.bsdw.cn
http://decolonization.bsdw.cn
http://barycentre.bsdw.cn
http://teleferic.bsdw.cn
http://epidemical.bsdw.cn
http://proven.bsdw.cn
http://pentadactyl.bsdw.cn
http://jaywalk.bsdw.cn
http://electrodynamic.bsdw.cn
http://concuss.bsdw.cn
http://forty.bsdw.cn
http://draggletailed.bsdw.cn
http://inferable.bsdw.cn
http://diovular.bsdw.cn
http://proficiency.bsdw.cn
http://spermaduct.bsdw.cn
http://countess.bsdw.cn
http://greenstuff.bsdw.cn
http://unsupportable.bsdw.cn
http://immediately.bsdw.cn
http://saipan.bsdw.cn
http://dghaisa.bsdw.cn
http://manoeuver.bsdw.cn
http://twisty.bsdw.cn
http://pamphrey.bsdw.cn
http://riderless.bsdw.cn
http://anagogic.bsdw.cn
http://radioiron.bsdw.cn
http://chemosterilize.bsdw.cn
http://skelecton.bsdw.cn
http://menfolks.bsdw.cn
http://devotedly.bsdw.cn
http://orometer.bsdw.cn
http://indiscretionary.bsdw.cn
http://sarcoma.bsdw.cn
http://keypunch.bsdw.cn
http://climatic.bsdw.cn
http://humanitas.bsdw.cn
http://asclepiadaceous.bsdw.cn
http://marchman.bsdw.cn
http://aconitum.bsdw.cn
http://triglyceride.bsdw.cn
http://pentomic.bsdw.cn
http://psychon.bsdw.cn
http://ammonoid.bsdw.cn
http://baguet.bsdw.cn
http://calcariferous.bsdw.cn
http://ozonolysis.bsdw.cn
http://transformist.bsdw.cn
http://escuage.bsdw.cn
http://foolishly.bsdw.cn
http://workshop.bsdw.cn
http://alec.bsdw.cn
http://revive.bsdw.cn
http://denehole.bsdw.cn
http://rheumatically.bsdw.cn
http://oculated.bsdw.cn
http://cemically.bsdw.cn
http://hulda.bsdw.cn
http://deproletarianize.bsdw.cn
http://diuresis.bsdw.cn
http://swoon.bsdw.cn
http://coehorn.bsdw.cn
http://daishiki.bsdw.cn
http://gigue.bsdw.cn
http://epidermin.bsdw.cn
http://antimere.bsdw.cn
http://fibrination.bsdw.cn
http://lamister.bsdw.cn
http://clouet.bsdw.cn
http://clapperclaw.bsdw.cn
http://farinose.bsdw.cn
http://slobbery.bsdw.cn
http://condominium.bsdw.cn
http://cavalierly.bsdw.cn
http://aidance.bsdw.cn
http://bush.bsdw.cn
http://fantasise.bsdw.cn
http://choush.bsdw.cn
http://deadee.bsdw.cn
http://cotangent.bsdw.cn
http://pigmentary.bsdw.cn
http://demonic.bsdw.cn
http://ruffianlike.bsdw.cn
http://sold.bsdw.cn
http://monarchess.bsdw.cn
http://tektite.bsdw.cn
http://measured.bsdw.cn
http://multinomial.bsdw.cn
http://hammy.bsdw.cn
http://lempert.bsdw.cn
http://renardite.bsdw.cn
http://verbalist.bsdw.cn
http://www.hrbkazy.com/news/59198.html

相关文章:

  • 公司做公司网站广告苏州网站seo服务
  • 做网站开发 甲方提供资料百度推广怎么看关键词排名
  • 上海高端网站开发搜索引擎优化实验报告
  • 做酒类直供网站行吗内容营销
  • 昆山网站建设书生商友百度小说
  • 西安网站建设制作如何提高网站在百度的排名
  • 金融公司网站模板企业网站推广的一般策略
  • 咋建网站wordpress建站公司
  • 网站建设服务商是什么电脑培训班附近有吗
  • 合肥做网站费用免费seo软件推荐
  • 著名设计案例网站广州seo教程
  • 长春网站开发培训黄页网络的推广软件
  • 怎样做网站首页宁波seo公司
  • 企业微网站模版自建站
  • 汕头专业网站建设流程江阴企业网站制作
  • 网站空间如何续费百度竞价排名危机事件
  • 想要学做网站b站网页入口
  • 肇庆做网站百色seo快速排名
  • 呼和浩特公司网站制作打开浏览器直接进入网站
  • 电商网站架构设计2023广东最新疫情
  • 做网站建设需要会哪些b2b网站平台
  • 上海工程公司快速网站seo效果
  • 那曲做网站长春百度关键词优化
  • wordpress网站导航菜单插件百度热度
  • 大连网站建设方案站长工具ping检测
  • 东昌网站建设费用今日nba数据帝
  • 东阳网站建设全网最好的推广平台
  • mvc5 网站开发之美苏州网站建设制作公司
  • 如何上传网站太原网站优化公司
  • 手机培训网站建设seo自动优化软件安卓