mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix doc
This commit is contained in:
parent
92ca87a8fc
commit
e6b89806f4
@ -2078,13 +2078,13 @@ public class CollUtil {
|
|||||||
/**
|
/**
|
||||||
* 一个对象不为空且不存在于该集合中时,加入到该集合中<br>
|
* 一个对象不为空且不存在于该集合中时,加入到该集合中<br>
|
||||||
* <pre>
|
* <pre>
|
||||||
* null, null => false
|
* null, null -> false
|
||||||
* [], null => false
|
* [], null -> false
|
||||||
* null, "123" => false
|
* null, "123" -> false
|
||||||
* ["123"], "123" => false
|
* ["123"], "123" -> false
|
||||||
* [], "123" => true
|
* [], "123" -> true
|
||||||
* ["456"], "123" => true
|
* ["456"], "123" -> true
|
||||||
* [Animal{"name": "jack"}], Dog{"name": "jack"} => true
|
* [Animal{"name": "jack"}], Dog{"name": "jack"} -> true
|
||||||
* </pre>
|
* </pre>
|
||||||
* @param collection 被加入的集合
|
* @param collection 被加入的集合
|
||||||
* @param object 要添加到集合的对象
|
* @param object 要添加到集合的对象
|
||||||
|
Loading…
x
Reference in New Issue
Block a user