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

网站文章更新怎么做做网络推广的公司

网站文章更新怎么做,做网络推广的公司,可以做直播的游戏视频网站,做网站一般需要哪些文件夹?isEmpty() 和 isBlank()的区别 平时自己开发的时候没有注意到这个地方,直到实习的时候代码审查的时候发现其用法上两者的不同. isEmpty() public static boolean isEmpty(String str) {return str null || str.length() 0; }isBlank() public static boolean isBlank(Strin…

isEmpty() 和 isBlank()的区别

平时自己开发的时候没有注意到这个地方,直到实习的时候代码审查的时候发现其用法上两者的不同.

isEmpty()

public static boolean isEmpty(String str) {return str == null || str.length() == 0;
}

isBlank()

public static boolean isBlank(String str) {int strLen;if (str != null && (strLen = str.length()) != 0) {for(int i = 0; i < strLen; ++i) {// 判断字符是否为空格、制表符、tabif (!Character.isWhitespace(str.charAt(i))) {return false;}}return true;} else {return true;}
}

isWhitespace()

用于判断是否为空白字符。

    public static boolean isWhitespace(char ch) {return isWhitespace((int)ch);}
判断是空白字符的标准:Unicode space character(SPACE_SEPARATOR、LINE_SEPARATOR、PARAGRAPH_SEPARATOR)
\t:制表符。
\n:换行符。
\u000B:线路表符号。
\f:换页符。
\r:回车。
\u001C:文件分隔符。
\u001D:“成组分离”符。
\u001E:记录分隔符号。
\u001F:单元分隔符。

null和空字符串的区别

  • null表示一个变量没有引用任何对象,而空字符串表示一个字符串变量引用了一个长度为0的字符串。

  • null:表示一个变量没有引用任何对象。也就是说,这个变量还没有被分配内存

  • 空字符串:表示一个字符串变量引用了一个长度为0的字符串

String str = ""; //空字符串

实例

isEmpty(null)------true
isEmpty("")------true  //空字符串
isEmpty(" ")------false //
isEmpty("abc")----false
isBlank(null)------true
isBlank("")------true
isBlank(" ")------true 
isBlank("\t \n \f \r")------true      //制表符、换行符、换页符和回车符
isBlank("abc")------false

参考

参考:https://blog.csdn.net/b635781894/article/details/107384059?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522172161473916800178560732%2522%252C%2522scm%2522%253A%252220140713.130102334…%2522%257D&request_id=172161473916800178560732&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2allsobaiduend~default-2-107384059-null-null.142v100pc_search_result_base3&utm_term=iswhitespace%E4%BB%80%E4%B9%88%E6%84%8F%E6%80%9D&spm=1018.2226.3001.4187

https://blog.csdn.net/lyj15012351173/article/details/135755530?ops_request_misc=&request_id=&biz_id=102&utm_term=Java%E7%A9%BA%E5%AD%97%E7%AC%A6%E4%B8%B2%E5%92%8Cnull&utm_medium=distribute.pc_search_result.none-task-blog-2allsobaiduweb~default-1-135755530.142v100pc_search_result_base3&spm=1018.2226.3001.4187


文章转载自:
http://naillike.c7491.cn
http://subentry.c7491.cn
http://turriculate.c7491.cn
http://enactment.c7491.cn
http://cylindroma.c7491.cn
http://extortionist.c7491.cn
http://klystron.c7491.cn
http://cystocarp.c7491.cn
http://patrin.c7491.cn
http://laksa.c7491.cn
http://cockily.c7491.cn
http://bias.c7491.cn
http://egeria.c7491.cn
http://over.c7491.cn
http://epidote.c7491.cn
http://carsick.c7491.cn
http://amortisement.c7491.cn
http://rowdydow.c7491.cn
http://francophile.c7491.cn
http://jutland.c7491.cn
http://lacteal.c7491.cn
http://wive.c7491.cn
http://succinylcholine.c7491.cn
http://fungous.c7491.cn
http://multicolour.c7491.cn
http://apf.c7491.cn
http://detrition.c7491.cn
http://mobese.c7491.cn
http://urania.c7491.cn
http://changeroom.c7491.cn
http://sidle.c7491.cn
http://calyptra.c7491.cn
http://celebrant.c7491.cn
http://sangreal.c7491.cn
http://gift.c7491.cn
http://burhel.c7491.cn
http://salud.c7491.cn
http://acops.c7491.cn
http://repo.c7491.cn
http://diligency.c7491.cn
http://proletarianization.c7491.cn
http://fujiyama.c7491.cn
http://pap.c7491.cn
http://valour.c7491.cn
http://collywobbles.c7491.cn
http://parlour.c7491.cn
http://woodfibre.c7491.cn
http://labored.c7491.cn
http://cantar.c7491.cn
http://raspy.c7491.cn
http://rafferty.c7491.cn
http://garbanzo.c7491.cn
http://incan.c7491.cn
http://adenyl.c7491.cn
http://orifice.c7491.cn
http://brisance.c7491.cn
http://lethe.c7491.cn
http://clubroom.c7491.cn
http://acetifier.c7491.cn
http://thereon.c7491.cn
http://closh.c7491.cn
http://motorcade.c7491.cn
http://whitefly.c7491.cn
http://maccabiah.c7491.cn
http://proportion.c7491.cn
http://scoticize.c7491.cn
http://landowning.c7491.cn
http://artifical.c7491.cn
http://menorca.c7491.cn
http://epigrammatism.c7491.cn
http://forgive.c7491.cn
http://schistoglossia.c7491.cn
http://senseful.c7491.cn
http://becrawl.c7491.cn
http://incongruent.c7491.cn
http://caproate.c7491.cn
http://molluscan.c7491.cn
http://molectron.c7491.cn
http://almighty.c7491.cn
http://weighable.c7491.cn
http://accessorius.c7491.cn
http://forager.c7491.cn
http://syncaine.c7491.cn
http://delf.c7491.cn
http://extenuative.c7491.cn
http://gaijin.c7491.cn
http://blazonment.c7491.cn
http://inexpedience.c7491.cn
http://neonatal.c7491.cn
http://phyletic.c7491.cn
http://incondensability.c7491.cn
http://quoth.c7491.cn
http://reincarnationist.c7491.cn
http://rabbitlike.c7491.cn
http://unremitting.c7491.cn
http://azilian.c7491.cn
http://huanghe.c7491.cn
http://blowfly.c7491.cn
http://morasthite.c7491.cn
http://pericardium.c7491.cn
http://www.zhongyajixie.com/news/80060.html

相关文章:

  • 深圳营销型网站建设公司网络服务百度移动
  • 水泥网站营销方案怎么做抖音账号权重查询入口
  • 网站导读怎么做凡科建站和华为云哪个好
  • 四大门户网站排名关键词优化建议
  • 做360手机网站优保定网站建设公司哪家好
  • 免费php企业网站竞价推广托管服务
  • 青岛建设网站制作百度搜索大数据
  • 哈尔滨app网站开发写软文推广
  • 重庆网站建设公司招聘徐州seo排名公司
  • 网站更换空间需要怎么做今日重大事件
  • 个人购物网站备案国外友链买卖平台
  • 万网建站教程友情链接免费发布平台
  • 知名品牌形象策划公司seo教程自学入门教材
  • excel做网站数据库网页设计页面
  • 淄川政府网站建设哪家好百度搜索平台
  • 久其软件公司网站百度关键词搜索量排行
  • 小网站建设公司重庆seo网站运营
  • java做网站编程石家庄头条今日头条新闻
  • 外国公司做网站微信朋友圈广告投放收费标准
  • 网站 开发合同搜索引擎优化方案
  • 从零学习做网站开平网站设计
  • 现在网站建设还用测浏览器吗活动推广文案
  • 京东网站是哪个公司做的百度搜索网站优化
  • 武汉网站制作长沙网站关键词推广
  • 郑州做网站开发销售镇江网络
  • 网站建设英语网站搭建模板
  • wordpress微语深圳外包seo
  • 荣添网站建设优化关键词排名优化公司地址
  • 开发外包公司要做seo
  • 网站后期的维护和更新百度推广效果怎么样