There's only one method to implement: public Object invoke (MethodInvocation invocation) throws Throwable.
要实现的方法只有一个:public Objectinvoke (MethodInvocation invocation) throws Throwable。
She hates being the object of public attention.
她讨厌成为公众关注的对象。
A member function with public visibility can be invoked by any other member function in any other object or class.
在任何其它对象或类中的任何其它成员函数都可以调用具有公有可视性的成员函数。
Just call your ZODB object containers "Folders" when displaying them for public consumption, and users will happily navigate your object hierarchy as though it were a familiar filesystem.
当显示用于公共使用时,只需将ZODB对象容器称为“文件夹”,用户将非常愉快地导航对象层次结构,就像是导航熟悉的文件系统一样。
It may force you to change the public interface to the target object.
它会迫使您更改目标对象的公用接口。
And a public that was turning against hubristic nuclear engineering might also object to the large-scale storage of a potentially asphyxiating gas beneath the ground, which CCS requires.
此外,已对自负的核能工程技术产生反感的公众,或许也会反对在地下大规模储存一种有潜在窒息风险的气体,而这种大规模储存又为碳捕获和储存装置所必须。
Running into the object of affection in a public place is also a killer, especially if he or she gives mixed signals by making persistent eye contact.
在公共场合偶遇那人是最致命的,特别是当他/她不停地用眼神给你暗示。
If an abstract factory object must be passed in, then you must add a new public constructor or mutator.
如果必须传入抽象工厂对象,那么您必须添加一个新的公用构造函数或赋值(mutator)方法。
The remote interface, retrieved through the home interface, gives you access to the public methods of the remote object.
remote接口是通过home接口检索得到的,为您提供了对远程对象的公共方法的访问。
This method accepts an EventQuery object, which is configured with various parameters: the user name, the type of feed (public or private) and the level of detail required in the feed (full or basic).
该方法接受一个EventQuery对象,配置了多个参数:用户名、提要类型(公共或私有)以及提要的详细程度(完整还是基本)。
The public function Add in RelatedContexts object takes the second parameter as a flag to indicate whether the external connection is set for autoconnect or not.
这个添加在RelatedContexts对象中的公共功能将第二个参数当作一个标识符,来显示外部连接是否是自动连接。
Because clone has protected access in Object and, to call clone , you have to call it through a reference to a class that has overridden clone to be public.
因为clone在Object中是保护访问的,调用clone必须通过将clone改写公共访问的类引用来完成。
In the bad code example in Listing 1, the fields of the Person object are exposed directly as public fields instead of with accessors.
在清单1的坏代码示例中,Person对象的字段被直接公开为公共字段而非使用访问方法。
This function is useful for taking a NotesDocument object from within this database and reading its information into the public properties of this BookInfo object.
若要从此数据库中获取一个NotesDocument对象,并将其信息读入BookInfo对象的公共属性,那么这个函数是非常有用的。
Public Service Reminder: Making all fields of an object final does not necessarily make the object immutable -- all fields must also be primitive types or references to immutable objects.
PublicServiceReminder:让一个对象的所有字段都为final并不一定使得这个对象不可变 —— 所有的字段还必须是原语类型或是对不可变对象的引用。
In this case we do not define an instance variable in the injectee, but an abstract method returning the required object. The method may be public or protected
在这个例子中,我们没有在被注入者中定义一个实例变量,而是定义了一个返回所需对象的抽象方法。
Properties that are public can be written to and read from outside the class. Properties that are private can only be seen within the object or class context.
声明为public的属性可以在类外部写入和读取,声明为private的属性只在对象或类上下文中可见。
The code begins by instantiating a new XMLInputFactory object. Then, an InputStream object containing the Twitter public timeline in Atom format is opened.
这段代码首先实例化一个新的XMLInputFactory对象,然后打开一个包含atom格式的Twitterpublictimeline的InputStream对象。
Public tests test the public API, while private tests test things like the Request object.
公有测试用来测试公有api,而私有测试则是用来测试Request对象这样的东西。
Only when an external class or object needs to access an attribute should you make the appropriate getter or setter public.
只有当外部的类或对象需要访问其属性时,才使相应的getter或setter公有。
When the menu name you defined in the label of your extension point is called, the public void run (IAction arg0) method of the object extending the LiveNameActionDelegate class is invoked.
在调用扩展点的标签中定义的菜单名时,将调用扩展personaction类的对象的publicvoid runWithEvent (Eventarg0)方法。
A lot of people object to mobile phones, especially when they are used in public places like restaurants or on public transport.
许多人都反对移动电话,特别是在饭店、公共交通车等公共场所使用移动电话。
For example, a financial institution that maintains a stock-trading Web site is likely to ensure that the public does not have access to the source or object code for their proprietary analysis tools.
例如,维护股票交易网站的金融机构可能要确保公众无权访问他们的私有分析工具的源代码或目标代码。
But regardless of the controversy, Pluto remains an intriguing object that astronomers and the public alike can't wait to learn more about.
但是撇开这些争议,冥王星始终是一颗迷人的行星,无论是天文学家还是公众都迫不及待想要一窥其究竟。
"Private" and "public" have the same meaning here as in most object-oriented languages.
“私有”和“公有”在这里的意思和在大多数面向对象语言里一样。
This leaves us with other method of dependency injection, called setting injection, which involves creating a public method inside the object for the dependencies that need injection.
这就给我们留下其他的方法进行依赖注入,称为设置注入,包含在需要注入依赖的对象里创建一个公共方法。
Exposing reference types through your public interface allows users of your object to modify its internals without going through the methods and properties you've defined.
通过公共接口暴露引用类型,允许你的对象的用户,不用通过你已经定义的方法和属性就能修改它的内部。
I strongly object your using public available information in your argument.
但我坚决反对您在论点里使用公众提供的信息。
It's reasonable to follow common object-oriented programming practices and have getters and setters in the public interface, but within a class you should always access fields directly.
通常根据面向对象语言的实践,在公共接口中使用Getters和Setters是有道理的,但在一个字段经常被访问的类中宜采用直接访问。
It's reasonable to follow common object-oriented programming practices and have getters and setters in the public interface, but within a class you should always access fields directly.
通常根据面向对象语言的实践,在公共接口中使用Getters和Setters是有道理的,但在一个字段经常被访问的类中宜采用直接访问。
应用推荐