Put simply, a class is a discrete block or bundle of variables and methods.
简单地说,类是一个由变量和方法组成的离散块或束。
This is done through a check box in the display options dialog on diagrams, or in the features dialog of a block or class.
这是通过图表中显示选项对话框中的复选框,或者块或类的特性对话框进行操作的。
This synchronized code block acquires the lock associated with the customer class object before it executes.
同步的代码块在执行之前需要与客户类对象相关的锁。
You can now display ports of a class or a block diagram on its internal block diagram frames.
现在您可以在内部块图框架上显示端口分类或者块图表。
You can also use the display option operation to show compartments for association ends and parts on block definition diagrams, internal block definition diagrams or UML class diagrams.
您还可以使用显示选项操作来在块定义图、内部块定义图或者U ml类图上显示联系。
You can now view attributes, operations, flow ports and ports inherited from super blocks on block definition and internal block diagrams and features dialog of the derived class.
现在您可以从块定义和内部块图以及特性对话框的上层快中,查看属性、操作、流程图。
In a static initializer block, which executes when the class is loaded.
在一个静态初始化块中,在加载类时执行。
Listing 8 shows the Airline class with validation rules added to the constraints block.
清单8显示的airline类中在约束块内添加了验证规则。
They each delegate the real work to the run method of a PrivilegedExceptionAction class that is invoked within a privileged block.
它们各自将实际工作委托给privilegedexceptionaction类的run方法,这个类在特许块中被调用。
The row class, seen in the ingredient listing, sets a 42-pixel high block, suitable for a single line in a stack of lines inside a rounded rectangle.
您在配料清单中看到的row类将设置42像素高的块,该块适用于圆角矩形内的一叠行中的一行。
For example, the semantics of return, break, and this are different in a block of code than they are in a Runnable (or other inner class instance) that represents the same block of code.
比如,return、break和this在某一代码块中的语义与其在Runnable(或其他内部类实例)中同一代码块中的语义是不同的。
The RSpec descriptions go in a describe method, and you pass in the name of the class under test and a code block that has the actual spec.
describe方法提供了RSpec描述,您将传入测试类的名称和包含实际规范的代码块。
The powerful as operator in Groovy takes a code block and generates a new class that implements the interface, which you can then call as if it were a concrete class implementing the interface.
Groovy中强大的as操作符接收一个代码块并生成一个新类来实现该接口,您可以像调用实现该接口的具体类一样调用它。
It does have good Python awareness in indentation behavior, block indent/dedent, class/function browser (this hidden next to the horizontal scroll bar).
它对 Python 支持得比较好的是缩排、块缩进/取消缩进、类/函数浏览器(它隐藏于水平滚动条之后)。
This is where you can put the static constraints block that would normally be in the domain class.
该文件中可以放置本应该位于域类中的静态constraints块。
This was achieved by adding a general "catch-all" block in the Thread class.
这一目标是通过在thread类中添加一个通用的“catch - all”代码块来实现的。
Within the code block, the delegate keyword refers to the instance of the class you are adding methods to.
在代码块中,delegate关键字指向您将要向其中添加方法的类的实例。
The first strategy I'll demonstrate for mapping your domain class to a legacy table is using a static mapping block.
我将示范的第一个将域类映射到遗留表的策略是使用静态mapping块。
Since this class will be invoked repeatedly, move the code that initializes the WebSphere TX API into a static block
由于会反复调用该类,因此应将初始化WebSphereTXAPI的代码移动到一个静态块中
The instance_eval method of Object allows you to evaluate a string or block in the context of an instance of a class.
instance_eval方法,可以在一个类实例的上下文中对给定字符串或block进行求解。
Republicans threatened to block an extension of middle-class tax cuts unless Mr. Obama gave in and extended tax cuts for the rich too.
除非奥巴马先生屈服,同时延长对富人减税政策,共和党威胁要阻止中产阶级延长减税。
The class of drugs used by the UCLA team to block GABA receptors is currently in clinical development for other conditions, such as memory loss, and has been well-tolerated in small studies.
这类伽马氨基丁酸受体的抑制药物现正被加州大学的研究小组用于其他方面的临床研究,如失忆,并在一些小的研究上得到了广泛的认同。
Your code will be much easier to read and test if the class has a name attached and isn't placed right in the middle of an entirely different block of code.
如果该类附带一个名称并且不是放在完全不同的代码块的中间,代码将更易于阅读和测试。
Normally, the first dataSource block is where we define JDBC properties, like driver class, username, password, etc.
通常,第一个dataSource代码段是定义诸如驱动程序类、用户名、密码之类的jdbc属性的位置。
In the block-size-column.py example, both nautilus.ColumnProvider and nautilus.InfoProvider are enumerated in the class definition, so the new class inherits from both.
在block -size - column . py的例子中,nautilus . ColumnProvider与nautilus . InfoProvider在类定义中有举例,因此新类要从这两处继承。
The Virginia-class Block III submarines are being built by Northrop Grumman Shipbuilding and General Dynamics Electric Boat.
弗吉尼亚级BlockIII潜艇正由诺斯罗普·格鲁曼船舶公司和通用动力电船公司建造。
This means the declaration context for importation must be a source file, and cannot be a namespace, class, structure, module, interface, procedure, or block.
这意味着导入的声明上下文必须是源文件,而不能是命名空间、类、结构、模块、接口、过程或块。
New structural details illustrate how a promising class of antibodies may block human immunodeficiency virus (HIV) -1 infection and reveal valuable clues for design of an effective HIV-1 vaccine.
新的结构上的细节揭示一组潜在的抗体如何能够阻断人类免疫缺陷病毒(HIV) -1的感染,并为设计有效的HIV - 1疫苗提供了有价值的线索。
In this paper, we give out a testing model, namely branch block diagram, to test services of class.
本文介绍了一种基于服务的类测试模型,即服务的块分支图。
In this paper, we give out a testing model, namely branch block diagram, to test services of class.
本文介绍了一种基于服务的类测试模型,即服务的块分支图。
应用推荐