释义 |
subclasses 英'sʌbklɑːsɪz美'sʌbklɑːsɪz COCA¹²⁴⁴³⁰BNC⁵³⁰²⁸Economist⁵³⁵⁸¹⁺¹ 基本英英例句Thesaurus例句 n.子类¹⁰⁰原型subclass的三单 名词 subclass: biology a taxonomic category below a class and above an order 名词100% 用作名词Templatesubclassescan specify a custom delimiter.模板子类可以指定一个自定义分隔符。 Returns the collection of allsubclassesfor the class.返回类的所有子类的集合。as in.order 同义词 line,place,positionbracket,branch,breed,cast,caste,degree,description,estate,family,feather,genre,genus,grade,hierarchy,ilk,kidney,kind,nature,pigeonhole,rank,set,slot,sort,species,station,stripe,typepecking order,taxonomic groupas in.subdivision 同义词 tractclass,community,development,group,subsidiarylower group,minor group ordernoun class, status bracket,branch,breed,cast,caste,degree,description,estate,family,feather,genre,genus,grade,hierarchy,ilk,kidney,kind,line,nature,pecking order,pigeonhole,place,position,rank,set,slot,sort,species,station,stripe,subclass,taxonomic group,type subdivisionnoun smaller entity of whole class,community,development,group,lower group,minor group,subclass,subsidiary,tract A member function with protected visibility can be invoked by any member function in the class in which it is defined or any subclasses of that class. 具有受保护可视性的成员函数可以由与该成员函数在同一个类中定义或其任何子类中定义的其它任何成员函数调用。 ibm A member function with private visibility can only be invoked by other member functions in the class in which it is defined, but not in the subclasses. 具有私有可视性的成员函数只能由与该成员函数在同一个类中定义的其它成员函数调用,而在子类中的成员函数不能调用该成员函数。 ibm The subclasses are said to be domain classes because they provide wrappers to entities that exist in the application domain. 子类是域类,因为它们向存在于应用程序域内的实用工具提供了包装程序。 ibm When fields are declared protected, there is the possibility that methods in subclasses will directly access them, effectively increasing the coupling within a class hierarchy. 将字段声明为受保护时,子类中的方法就有可能直接访问它们,这样就可能有效地增加类层次结构中的耦合。 ibm While we are on that subject, it is vitally important that any overridable member have an explicit contract detailing what subclasses need to do in order to work correctly. 谈到这一问题,其中至关重要的一点,就是为了保证工作正确,任何重写的成员都应该具有一个显式的契约细节,以包含子类需要做的内容。 infoq Again the second query doesn’t need to include properties in other subclasses. 同样的,第二个查询不需要包含其他子类的属性。 infoq Aggregating allows any number of extensions to be added, without the need for defining all possible combinations of subclasses. 聚合允许添加任意数量的扩展,而无需定义子类的所有可能的组合。 ibm Concrete subclasses define the different required behaviors. 具体的子类定义需要的不同行为。 ibm Discovering the entire inheritance tree structure from an existing system is particularly useful, because it helps you uncover what the top-level class is and what subclasses are in the tree. 从一个已存在系统中发现整个的继承树结构是相当有用的,因为它能向您揭露在树中什么是顶级类以及什么是子类。 ibm If you have more than three, or more than seven subclasses of a single exception superclass, my bet is that something is wrong. 如果有三层以上,或者在一个异常超类中子类的个数超过了七个,那我打赌一定有什么地方出错了。 ibm In programming languages, this capability is provided by subclasses. 在编程语言中,通过子类提供这一能力。 ibm It is also very easy to modify superclasses and add new subclasses because you merely need to modify or add one table. 修改超类和添加新的子类也非常容易,因为您只需要修改或添加一张表。 ibm More specifically, it is the ability of subclasses to respond differently to the same messages. 更具体地说,它是子类对相同消息做出不同反应的能力。 ibm Ontologies define data models in terms of classes, subclasses, and properties. 存在论用类、子类和属性来定义数据模型。 ibm Rather than create subclasses for all the combinations of possible roles, a class is created for each individual role. 它不是为所有的可能角色组合创建子类,而是为每个单独的角色创建一个类。 ibm Stated plainly, the deeper the inheritance tree the harder it is to understand how changes in a base class may affect its subclasses. 但是,简单来说,当基类可能会影响到它的子类的时候,继承树越深就越难理解计算结果将如何变动。 infoq There are too many permutations to easily create subclasses for every enhancement scenario. 有太多的替代方法可以轻易地为每种增强情形创建子类。 ibm They can also be thought of as functions mapping classes to new subclasses. 它们也可以被认为是将类映射到新子类的函数。 ibm |