A handler can be anything from calling a method on an object, running a command or invoking a remote object call.
事件处理器可以做任何事,包括调用一个对象的方法,运行一个命令,或者对远程对象进行调用。
To create the concatenated string "users.brian.accessRights", the compiler will create a temporary StringBuffer object, call StringBuffer.append
为创建串联的字符串 “users.brian.accessRights” ,编译器将创建一个临时的StringBuffer对象,调用 StringBuffer.append 三次,然后调用 StringBuffer.toString ,这意味着至少两个对象的创建和几个方法调用。
To create the concatenated string "users.brian.accessRights", the compiler will create a temporary StringBuffer object, call StringBuffer.append
为创建串联的字符串 “users.brian.accessRights” ,编译器将创建一个临时的StringBuffer对象,调用 StringBuffer.append 三次,然后调用 StringBuffer.toString ,这意味着至少两个对象的创建和几个方法调用。
应用推荐