mirror of
https://github.com/alibaba/arthas.git
synced 2026-11-30 07:32:57 +00:00
update doc (#485)
This commit is contained in:
1 parent
a800e2cf7c
commit
efb835823e
2 files changed
+2
-2
No files matched your search
@@ -57,7 +57,7 @@ Affect(class-cnt:1 , method-cnt:1) cost in 66 ms.
|
||||
* Condition expression
|
||||
|
||||
Tips:
|
||||
1. `tt -t *Test print params[0].length==1` with different amounts of parameters;
|
||||
1. `tt -t *Test print params.length==1` with different amounts of parameters;
|
||||
2. `tt -t *Test print 'params[1] instanceof Integer'` with different types of parameters;
|
||||
3. `tt -t *Test print params[0].mobile=="13989838402"` with specified parameter.
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ Affect(class-cnt:1 , method-cnt:1) cost in 66 ms.
|
||||
|
||||
- 解决方法重载
|
||||
|
||||
`tt -t *Test print params[0].length==1`
|
||||
`tt -t *Test print params.length==1`
|
||||
|
||||
通过制定参数个数的形式解决不同的方法签名,如果参数个数一样,你还可以这样写
|
||||
|
||||
|
||||
Reference in new issue
Block a user