What does the '()' represent in the Java API doc?

陈黎栋John :

enter image description here What does the '()' represent in the Java API doc?

peprm :

cancel is a method, so its called as cancel() with parameters inside the parentheses.

cancel(String, Throwable) means that its a cancel method with a String as a first parameter and a Throwable as a second parameter.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=396545&siteId=1