...ter-constraints(where 类型参数:类型参数约束) type-parameter-constraints:(类型参数约束:) class-constraint(类约束) ..
基于68个网页-相关网页
...,类只能根据命名了的父类(superclass,它不能是任意的类运算式)定义,而且只能使用某些特定类型的类约束(class restriction)。类之间的等价关系(equivalence)和子类关系只能在具名类(named class)上做声明,不能应用于任意的类运算式。
基于12个网页-相关网页
第一类约束 first class constraint ; first cla co traint
第二类约束 second class constraint ; second cla co traint
基类约束 base class constraint
分类约束 Classification constraint
约束类型 Constraint Type ; [计] constrained type ; Types of Constraints
裸类型约束 naked type constraint
泛型类型参数约束 generic type parameter constraint ; yleisen tyypin parametriehto ; beperking van algemeen type parameter
引用类型约束 reference type constraint
第三类约束竞争的法门是通过法例管制。
第三类约束竞争的法门是通过法例管制。
例如,如果您知道您的泛型类仅用于引用类型,则应用类约束。
For example, if you know that your generic class is intended for use only with reference types, apply the class constraint.
应用推荐