mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-08-18 20:38:02 +08:00
@@ -469,7 +469,7 @@ public class CollUtil {
|
||||
*
|
||||
* @param collection 集合
|
||||
* @param value 需要查找的值
|
||||
* @return 果集合为空(null或者空),返回{@code false},否则找到元素返回{@code true}
|
||||
* @return 如果集合为空(null或者空),返回{@code false},否则找到元素返回{@code true}
|
||||
* @since 5.7.16
|
||||
*/
|
||||
public static boolean safeContains(Collection<?> collection, Object value) {
|
||||
|
Reference in New Issue
Block a user