The instanceof function provides a good way of checking type, but you can also roll object type checking into the method signature itself by using type hints in the argument list.
虽然 instanceof 功能提供了一种检查类型的好方法,但您还可以通过在参数列表中使用类型提示,来将对象类型检查滚动到方法签名自身中。
Acegi provides an authenticator class named org.acegisecurity.providers.ldap.authenticator.BindAuthenticator, which performs the required function of checking the username and password of the user.
acegi提供了名为or g . acegisecurity . providers . ldap . authenticator . BindAuthenticator的验证器类,它将执行验证用户名和密码所需的功能。
The following example annotates the return value of a function. This is useful for checking the return type of a function.
如下的示例则注释了某函数的返回值。
Well if I-- you know, with let me say it differently. I don't need to worry about how checking is done, it's handled inside of that function.
好,如果你们知道,抱歉,让我们换种说法,我不必担心检查工作,是则会么做的,这是在方法体内部进行的。
应用推荐