unboxing

unboxing

 英

  • 網絡拆箱;取消裝箱;開箱

例句

It is possible to convert a value type to a reference type, and back again to a value type, by using boxing and unboxing.

通過裝箱取消裝箱可以類型轉換引用類型然后轉換類型

What we'd really like to see would be automatic boxing and unboxing of primitive types, similar to what is done in C# (except better).

我們真正看到基本類型可以自動進行包裝boxing和解包裝unboxing),類似于用C#進行操作或者后者更好)。

To int. This example shows both boxing and unboxing. When a variable of a value class.

以上例子展示裝箱概念一個對象里面

Generic types allow for the reuse of code and enhanced performance for collection classes (due to boxing and unboxing issues).

可以提高集合代碼重用執行效率由于裝箱操作消耗時間內存)。

Whether it's the baby's first steps or an unboxing of a new geek toy, Qik is the video equivalent of a text service like Twitter.

不管是否嬰兒邁出第一Qik等同類似Twitter那樣文本服務視頻

Similarly, when an object is cast to a value type, the compiler performs the unboxing, extracting the value type from the object wrapping.

同樣一個對象強制轉換類型編譯執行取消裝箱對象包裝提取類型

Operator only considers reference conversions, boxing conversions, and unboxing conversions.

運算符考慮引用轉換裝箱轉換取消裝箱轉換

also , boxing and unboxing do not support pointers.

此外裝箱取消裝箱支持指針

Such boxing and unboxing operations add performance overhead since they involve dynamic memory allocations and run-time type checks.

他們處于動態內存分配運行類型檢查裝箱操作增加性能消耗

Otherwise, if the operand is of compile-time type Long, Float, or Double it is subjected to unboxing conversion.

否則如果操作編譯類型LongFloat或者Double經過轉換

That video is part of a larger phenomenon on the Web called " unboxing . "

這個視頻廣泛網上現象組成部分

Using interfaces also means that you can occasionally save an unboxing penalty for struct s.

使用接口意味可以偶爾節省結構體進行代價

and freeze-drying and unboxing, thus obtaining the omeprazole sodium freeze-dried powder injection.

奧美拉唑干粉

Boxing and unboxing enable value types to be treated as objects.

裝箱取消裝箱使類型能夠視為對象

In relation to simple assignments, boxing and unboxing are computationally expensive processes.

相對簡單賦值而言裝箱取消裝箱過程需要進行大量計算

And unbox data destined for output. Boxing and unboxing reduce performance.

而且預定輸出數據進行取消裝箱操作

Boxing and unboxing convert between value and reference types.

類型引用類型轉化時候存在裝箱

The last thing to notice is that XJ supports automatic unboxing of XML elements.

最后需要注意XJ支持XML元素自動

However, the process of boxing and unboxing a type carries a performance cost.

但是類型進行裝箱取消裝箱過程增加性能開銷

Unboxing extracts the value type from the object.

取消裝箱對象提取類型

I have just unboxed it and of course we're sharing the holy unboxing ceremony with you guys.

剛才裝箱我們當然分享神圣儀式unboxing你們這些家伙

The following example demonstrates a case of invalid unboxing and the resulting

下面示例演示無效取消裝箱引發

And the value is copied into the box. Unboxing is just the opposite. When an Object

過程剛好反過來一個復制