ab是字符串

(a == b) || (a != null && a.equals(b))