This is useful when a method is too big and you want to subdivide blocks of it into different methods.
如果一个方法太大并且您想要把此方法再细分为不同的方法,这个重构将很有用。
For instance, if you want to subdivide each of the two grids in the previous listing into two units where one unit is twice as wide as the other, you write the code shown in listing 10.
举例来说,如果您希望将之前清单中的两个网格继续划分为两个单元,其中一个单元是另一个单元的两倍宽度,可以编写如清单10所示的代码。
Areas allow you to subdivide a project into smaller, more manageable sections.
区域使你可以将项目分成多个更小的、更容易管理的部分。
For convenience, we subdivide the overall development effort into a number of incremental sub-tasks. In this installment we provide a detailed walkthrough of the following subtasks.
为了方便起见,我们将整个开发工作划分为多个增量型的子任务。
On their turn subdivide each children into eight smaller cubes, and you will notice we are creating a tree where each node has eight children.
处理每个‘孩子’的时候,再为更小的八个立方体,你会发现我们在创建一个每个节点有八个子节点(孩子)的树。
We organize them. We subdivide these into units of two for example, groups of two like this or we have an undifferentiated stream like this.
我们把它们重新组织,把它们分成两个一组,比如像这样的两个一组,或者我们可以有一个没有差别的节奏串,像这样。
We subdivide these into units of two, for example, groups of two like this, or we have an undifferentiated stream like this.
例如,我们将一连串的节拍以两个为单位分组。
How to subdivide text into multi-paragraph units is an important issue in many NLP applications such as automatic summarization and QA system.
如何正确有效地确定文档的子主题边界对于自动文摘、问答系统等自然语言处理应用是非常重要的。
If you subdivide large procedures into smaller ones, your application is more readable.
如果将大过程细分为更小的过程,应用程序的可读性将更强。
At any given price we can subdivide the total quantity demanded into the quantities demanded by individual consumers.
我们可以将任一价格上的全部需求量分解为各个消费者个人的需求量。
The conveyor wheel and conveyor belts are optionally equipped with partitions that subdivide a conveyor belt into Chambers.
必要时输送轮和输送轨道配有分隔壁,它们使输送轨道分成小室。
The conveyor wheel and conveyor belts are optionally equipped with partitions that subdivide a conveyor belt into Chambers.
必要时输送轮和输送轨道配有分隔壁,它们使输送轨道分成小室。
应用推荐