据此推理机可以推出:任一属性若其allValuesFrom的约束是类daysOfTheWeek,则此属性的最大基数(maximum cardinality )是7。
基于44个网页-相关网页
Therefore, omitting the maximum cardinality does not have any impact on the amount of allocated memory.
因此,省略最大基数不会对已分配的内存量产生任何影响。
However, the memory allocated for an array is based on its cardinality, and not on the maximum cardinality of its type.
然而,阵列的已分配内存是基于其基数的,而不是基于其类型的最大基数。
If, when defining an array type, there is no clear value for its maximum cardinality, it can be omitted. This step is shown in the listing below.
如果在定义阵列类型时没有明确其最大基数值,那么可省略。
应用推荐