如果只是判断对象的值是否相等,则可以用 extracting 提取后再判断,或用 matches 来用lambda表达式判断。 判断是否为null用 isNull() 或 isNotNull() 。
確定! 回上一頁