boolean equals(Object obj) 重写equals比较字符串是否相同,区分大小写
boolean equalsIgnoreCase(String anotheerString) 比较字符串是否相同,忽略大小写
boolean contains(String str) 判断大串字符中是否包含小串的字符串
boolean startWith(String str) 判断字符串是否以某个指定的字符串开头
boolean endWith(String str) 判断字符串是否以某个结尾
boolean isEmpty() 判断对象是否为空