For instance, Listing 6 shows a simple (PHP V4) class and instances.
例如,清单6显示了简单的(PHPV 4)类和实例。
This class handles the attributes for the module and introduces the various class and instance methods.
该类处理模块属性并引入不同的类和实例方法。
The Order class as coded in Listing 5 provides dozens of class and instance methods at runtime. Table 2 offers a partial list of operations and attributes available on Order.
像清单5那样编码的Order类在运行时提供了一些类和实例方法。
Instead you can define some as an object (instead of a class) and it becomes a singleton instance of the class.
相反您可以定义一个对象(而不是类)并且它将成为类的一个单例实例。
From the Membership class, you can create and manage users, each of whom is represented by an instance of the MembershipUser class.
通过会员类,你可以创建用户并管理他们,每一个用户都由一个会员类的实例所代表。
Furthermore, there are instance and class metadata in the content management arena.
此外,还有用于内容管理的实例和类的元数据。
A class and an interface differ: a class can have an actual instance of its type, whereas an interface must have at least one class to implement it.
一个类和一个接口不同:一个类可以有它形态的真实实例,然而一个接口必须至少有一个类来实现它。
This class provides a handy factory for taking a class name and then generating an instance of the provided class.
这个类提供了一种方便的方式,它选取一个类名,然后生成所提供的类的实例。
A complete MK designation includes both spectral type and luminosity class -for instance, the sun is a G2V.
一个完整的MK系统代号包含光谱类型和光度型两部分——例如,太阳属于G 2 V类恒星。
For example, one JVM instance might load a class from a particular location from disk, and a subsequent instance might load that class from a different location or even over the network.
例如,一个JVM实例可能从磁盘的某个特定位置加载类,而后面一个实例可能从不同的位置甚至网络加载该类。
A class loaded by a class loader instance is uniquely identified by that class loaders namespace and the class name.
类加载器实例加载的类由加载器的名称空间和类名惟一标识。
The difference in cumulative size occurs because the aggregated data structure level view uses summarized instance counts and the object/class leak suspects view uses actual instance and size counts.
总大小的差别是由于聚合数据结构级别视图使用汇总实例计数,对象/类泄漏疑点视图使用实际事例和大小计数。
The first set of enclosing braces delineates the construction of an anonymous inner class, and the second set delineates the instance initializer for the anonymous inner class.
第一组闭合括弧划定一个匿名内部类的构造,第二组划定匿名内部类的实例初始化语句块。
You must subclass (that is, create a class that extends it) and create an instance of the child class.
必须创建子类(即,创建继承它的类),并创建该子类的实例。
If the class hasn't been loaded yet, the class loader will load it now and return the newly constructed class instance.
如果类未被装入,类装入器将现在装入并返回新创建的类实例。
After the user is authenticated, the program tries to create a UserProfile class instance, modify it, and read from it.
在认证了用户之后,程序设法创建一个userprofile类实例,修改它并从中读取。
The Gizmo class defines a data instance and contains these elements and methods.
gizmo类定义数据实例,并包含如下元素和方法。
This invoke method takes two arguments, which supply the class instance and an array of parameter values for the call.
这种invoke方法使用两个参数,为调用提供类实例和参数值数组。
The first steps in creating a database-backed model are to instantiate the MySQL driver class, and create a DBConnection instance.
创建数据库后台模型的第一步是说明MySQL驱动类,并创建DBConnection实例。
Listing 6 provides the instance and class variables for BuddyNoteView.
清单6提供了BuddyNoteView的实例和类变量。
It begins by reading the Services_Trackback class file and initializing an object instance of the Services_Trackback class.
它首先读取Services _ trackback类文件并初始化services _ trackback类的对象实例。
You create a class derived from org.eclipse.jdt.core.dom.ASTVisitor and pass an instance of it to node's method accept .
然后创建一个从or g . eclipse . jdt . core . dom . ASTVisitor派生的类,将该类的实例传递给节点方法accept 。
Instead, Python creates a generic class instance, applies the instance attributes that were pickled, and sets the instance's _class_ attribute to point to the original class.
相反,Python创建一个通用类实例,并应用已进行过pickle的实例属性,同时设置该实例的_ class_属性,使其指向原来的类。
An instance of the AbderaClient class and an instance of the RequestOptions class that you use to pass any options such as cookies across in the request are required.
需要使用abderaclient类的一个实例和requestoptions类的一个实例来传递请求中的任何选项,比如cookies。
The largest view contains a small class model and an instance of the NoCyclicDependency pattern.
最大的视图包含一个小的类模型,以及NoCyclic Dependency模式的实例。
Listing 3 first loads the Zend class libraries and then initializes an instance of the Zend_Gdata service class.
清单3首先加载Zend类库,然后初始化zend_gdata服务类的一个实例。
Listing 1 begins by including the Zorba PHP class definitions, and creating an instance of the memory store with the InMemoryStore class.
清单1首先包含Zorbaphp类定义,然后使用inmemorystore类创建内存储存的一个实例。
To begin, it reads the XML_RDDL class file, and initializes an instance of the XML_RDDL class.
首先读入xml_rddl类文件,初始化xml_rddl类的一个实例。
Create data classes and a utility class for getting an EntityManager instance.
创建数据类和一个实用类来获取EntityManager实例。
Create data classes and a utility class for getting an EntityManager instance.
创建数据类和一个实用类来获取EntityManager实例。
应用推荐