StringUtils中文API.docVIP

  • 274
  • 0
  • 约3.02万字
  • 约 23页
  • 2018-01-05 发布于河南
  • 举报
StringUtils中文API

mons.lang? Class StringUtils java.lang.Object 牋mons.lang.StringUtilsg public class燬tringUtilsg extends?Object Operations on?String?that are?null?safe.?字符串是null安全的,不会抛出NullPointerException,都做了相应的处理。 IsEmpty/IsBlank?- checks if a String contains text IsEmpty/IsBlank?–?检查字符串是否有内容。 Trim/Strip?- removes leading and trailing whitespace Trim/Strip?–?删除字符串开始和结尾的空白符。 Equals?- compares two strings null-safe Equals?–?比较两个字符串null安全。 IndexOf/LastIndexOf/Contains?- null-safe index-of checks IndexOf/LastIndexOf/Contains?– null安全的索引检查。 IndexOfAny/LastIndexOfAny/IndexOfAnyBut/LastIndexOfAnyBut?- index-of any o

文档评论(0)

1亿VIP精品文档

相关文档