As you can see, though, it takes a lot more to implement the Iterable interface manually than simply extending a class that does this work for you.
但是,您可以看到,与扩展一个现成的类来完成同样的工作相比,手动实现Iterable接口需要做的工作多得多。
The most important thing to note when extending JAAS for class instance-level authorization is that the permission implementation class must have a three-parameter constructor.
在为类实例级授权扩展JAAS时要注意的最重要的一点是:许可权实现类必须有一个带三个参数的构造函数。
Extending JUnit's TestCase class to add additional features is a common technique utilized in virtually every JUnit extension.
扩展JUnit的testcase类,加入附加特性,实际上是每个JUnit扩展通常采用的技术。
A handler has to be created for these events by either implementing an interface or extending the DefaultHandler class and overriding its methods as needed.
必须通过实现接口或者扩展DefaultHandler类并根据需要重写它的方法,创建这些事件的handler。
When you become familiar with customizing this solution, consider creating a custom class for extending DataGrid that contains your preferred methods and properties.
当您熟悉自定义此解决方案时,请考虑创建一个自定义类,用于扩展包含首选方法和属性的DataGrid。
By extending the PasswordHandler interface, a developer can create a class to implement the password-checking logic.
通过扩展PasswordHandler接口,开发人员可以创建一个类来实现密码检查逻辑。
The typical JUnit programming model creates a test class by extending the TestCase class provided by JUnit.
典型的JUnit编程模型通过扩展JUnit提供的testcase类创建测试类。
Implement a custom data binding class by extending the default data binding class.
通过扩展缺省数据绑定类来实现自定义数据绑定类。
We might consider, for example, extending the earned income tax credit all the way up through the middle class, and paying for it with a tax on carbon.
我们可能认为,一路对中产阶级中所获薪水的实施税务扣除,用对碳收税加以平衡。
An activity represents a user interaction, and the class extending the activity class creates a window for a UI.
一个活动代表一次用户交互,它扩展activity类,为UI创建一个窗口。
To support the usage model of extending a DAO support class, Spring 2.0 provides the SimpleJdbcDaoSupport class, offering a preconfigured JdbcTemplate.
为了支持扩展DAO支持类的用法模型,Spring 2.0提供了SimpleJdbcDaoSupport类,提供一个预先配置的JdbcTemplate。
And, as we may have some specific kinds of switches, for example a fancy switch, a normal switch etc., we will also have FancySwitch and NormalSwitch classes extending the switch class.
接下来我们可以有一些具体的开关,例如一个漂亮开关,一个普通开关等等,当然,我们会让类FancySwitch和NormalS witchnd继承类s witch。
After extending org.eclipse.ercp.eworkbench.applications, we create a TreeViewer instance and associate with the current composite in createPartControl methods in the generated SampleView class.
在扩展 org.eclipse.ercp.eworkbench.applications 之后,我们将创建TreeViewer实例并与生成的SampleView类的createPartControl方法中的当前复合内容关联起来。
After extending org.eclipse.ercp.eworkbench.applications, we create a TreeViewer instance and associate with the current composite in createPartControl methods in the generated SampleView class.
在扩展 org.eclipse.ercp.eworkbench.applications 之后,我们将创建TreeViewer实例并与生成的SampleView类的createPartControl方法中的当前复合内容关联起来。
应用推荐