value type
值 类型
种值 类型
Tuples are value types , and their elements are simply public, mutable fields. Boxing是指将一个值类型 隐式地转换成一个object类型,unboxing是指将一个object类型显式地转换成一个值类型 。 Boxing is the process of converting value type to object type and unboxing is reverse process of object type to value type . 但是,在C++中,类是值类型 -与大多数其他OO语言不同。 However, in C++, classes are value types -- unlike in most other OO languages. 通常,默认值表达式用于类型参数,因为可能并不知道类型参数是值类型 还是引用类型。 It should usually be used with Generic types(T) since we may not be sure whether the type is a value type or reference type. . 一个结构体和一个类之间最大的区别在于结构是值类型 ,而类是引用类型。 The big difference between a structure and a class is that a structure is a value type and a class is a reference type. .
请注意,每个数组都是一种引用类型,即使其成员是值类型 。 Note that every array is a reference type, even if its members are value types . The data types in C are divided into two main categories: Value Type and Reference Type. . 在新语法下,你需要显式地标明一个引用变量是可空的,就像对值类型 所做的那样。 Under the new syntax, you would need to explicitly indicate when a reference variable is nullable, just as you do for value types . Primitive types(except strings), enumerations, and structures are value types . 一个实体的持久状态包含指向其他实体和值类型 实例的引用。 An entity's persistent state consists of references to other entities and instances of value types . 值类型 的实例(和对象的引用)就存储在变量声明的地方。Value-type instances(and object references) live wherever the variable was declared.OpenJDK项目Valhall发布了一项重大更新,宣布了JVM值类型 中一些初步的、尚处于极早期阶段的设计概念。 Project Valhalla with OpenJDK has posted a major update and has announced some initial, very early-stage design concepts for value types in the JVM. 提供输入和输出值类型 的各种方法,并包含org/omg/CORBA/portable包的其他更新。 Provides methods for the input and output of value types , and contains other updates to the org/omg/CORBA/portable package. 值类型 和引用类型最根本的不同在于它们在内存中的处理方式。The fundamental difference between value types and reference types is how they are handled in memory. Assignment to a variable of a value type creates a copy of the value being assigned. Component是一个被包含的对象,它作为值类型 被持久化,而非一个被引用的实体。 A component is a contained object that is persisted as a value type , not an entity reference.除了值类型 这个简单的概念外,当前还有一些更深层次的设计问题。 Beyond this simple conception of value types are some immediate further design questions. 提供输入和输出值类型 的方法,并包含其他更新的org/omg/CORBA便携包。 Provides methods for the input and output of value types , and contains other updates to the org/omg/CORBA/portable package. There are no type restrictions, but the value type needs to support addition, subtraction, and comparison. Every structure is a value type , even if it contains reference type members.
展示更多例子
结果: 107 ,
时间: 0.0209
English
Bahasa indonesia
日本語
عربى
Български
বাংলা
Český
Dansk
Deutsch
Ελληνικά
Español
Suomi
Français
עִברִית
हिंदी
Hrvatski
Magyar
Italiano
Қазақ
한국어
മലയാളം
मराठी
Bahasa malay
Nederlands
Norsk
Polski
Português
Română
Русский
Slovenský
Slovenski
Српски
Svenska
தமிழ்
తెలుగు
ไทย
Tagalog
Turkce
Українська
اردو
Tiếng việt