To satisfy these requirements, you will create an Ant task class that you can deploy by command.
要满足这些需求,您将创建一个您可以通过命令部署的Ant任务类。
A task class contains information about the tasks that are stored in the task list (see Listing 4).
task类包含存储在任务列表中的任务的信息(请看清单4)。
The TimerTask class has a cancel method that you can use to cancel subsequent invocations of the task.
timertask类有一个cancel方法,可以用它取消对任务的后续调用。
The self-learning algorithms of the task class knowledge need model and user model are put forward.
还给出了任务类知识需求模板和用户模型的自学习算法。
To use fork/join directly, you must either use the runForkJoin() method with a task closure or a task class that subclasses AbstractForkJoinWorker.
要直接使用fork/join,您必须使用带有一个任务闭包的runForkJoin()方法或一个将AbstractForkJoinWorker分为子类的任务类。
Second, given that this task class is a Runnable, the result of the array access needs to be assigned to the state field (and state needs to be used in an overriding toString method) to prevent DCE.
第二,既然这个任务类是Runnable,为了防止DCE,必须把数组访问的结果赋值给state字段(以及覆盖的toString方法中需要使用的state)。
I recently gave my class a task.
我最近给我的班级布置了一个任务。
Our task is to provide free, world-class education for anyone, anywhere.
我们的任务是,为世界各地所有人提供免费的世界级教育。
A teacher gave her class an interesting task—to draw a picture of something to express their thanks.
一位老师给她的学生们布置了一项有趣的任务——画一幅图来表达他们的感谢。
You can accomplish this task by appending the class name to the element name.
实现这个任务的方法是把类名附加在元素名后面。
Each task belongs to a scheduling class, which determines how a task will be scheduled.
每个任务都属于一个调度类,这决定了任务将如何调度。
However, refining class models with textual constraints is a time-consuming and error-prone task.
然而,用文本约束细化类模型是耗费时间并且易于出错的任务。
Making this task easy helps ensure that method, variable, and class names indicate their intent clearly.
简化这一任务有助于确保方法、变量和类的名称能够清晰地指示其用途。
For middle school students to push other learners in their class is something completely new to most of them and getting them to see the value of this difficult task is not easy.
对于中学生来说,想让他们对其他学习者施压是完全新鲜的事情,让他们认识到这项艰巨的任务的价值也并非易事。
Most of the properties for Task are stored not in the class itself, but rather a secondary object called ContingentProperties.
Task的大多数属性都没有保存在类本身之中,而是保存在另一个名为ContingentProperties的对象中。
As you can see from Listing 2, the DeferredDivision class extends from Kilim's Task type, which essentially emulates the actor model.
从清单2可以看到,deferreddivision类扩展了Kilim的task类型,后者实际上模仿了角色模型。
The support class for the lookup task is aptly named PrintServiceLookup.
支持查找任务的类被恰如其分地命名为PrintServiceLookup 。
Create a TaskManager class that is responsible for getting and storing the Task objects, as shown in Listing 5.
创建taskmanager类,该类负责获取并存储task对象,如清单5所示。
For example, in Listing 10, I've defined an Ant task that builds a report for a class hierarchy, using the HierarchyBuilder.
例如,在清单10中,我使用HierarchyBuilder定义了一个为类层次构建报告的Ant任务。
The next task is to go back to the XCode IDE and add some member variables, properties, and methods to the view controller class definition as in Listing 5.
下一个任务是回到XCodeIDE,向视图控制器类定义添加一些成员变量、属性和方法,如清单5所示。
I then renamed a couple of methods (SRC became from, for example) and created some helper methods to help instantiate the task library class.
接着,我重命名了几个方法比如说,把src改成了from,然后创建了一些辅助方法helper methods来辅助初始化任务库的类。
In addition, the task depends upon the deps task (from Listing 1) to include any class references.
此外,该任务依赖于deps任务(在清单1中)来包括所有类引用。
You will now repackage the Rule Team Server EAR file with the new controller class and preferences file, using an Ant task provided in the sample.
您现在需要重新打包RuleTeamServerEAR文件,使其包含新控制程序类和preferences文件,使用样例中提供的Ant任务完成。
You could have your FixedList class implement the List interface as well, but then you are faced with the unsavory task of providing an implementation for all of the List methods.
您也可以让您的FixedList类实现List接口,但是您需要面对一项烦人的工作:为所有 List 方法提供一个实现。
The deps dependency task, as defined in Listing 1, includes all of the libraries in my lib directory using the dir class and glob method.
根据清单1中的定义,deps依赖任务使用Dir类和glob方法包括lib目录中的所有库。
Another approach (which the Benchmark class USES) is simply to execute the task continuously for a predetermined, reasonably long time.
另一种方法是在一个预先确定的长度合理的时间段内连续执行任务(benchmark类就使用这种方法)。
The framework is easy to use for most benchmarking needs: just package the target code into some type of task object (either a Callable or Runnable) and then make a single call to the benchmark class.
这个框架很容易满足大多数基准测试需求:只要把目标代码打包成特定类型的任务对象(Callable或Runnable),然后调用benchmark类。
For instance, mapping the book to an instance of the book class is standard, and Castor will handle the task by default.
例如,book到book类实例的映射是标准的,Castor会默认处理这个任务。
set_curr_task: This function is called when a task changes its scheduling class or changes its task group.
set_curr_task:当任务修改其调度类或修改其任务组时,将调用这个函数。
set_curr_task: This function is called when a task changes its scheduling class or changes its task group.
set_curr_task:当任务修改其调度类或修改其任务组时,将调用这个函数。
应用推荐