upcast background
BeDict Logo

upcast

/ˈʌpkæst/ /ˈʌpkɑːst/

Meanings

noun

キャスト、投げること

Examples :

ボールのキャストはキャッチャーのミットに完璧に着地した。
noun

サブタイプからスーパタイプへのキャスト

A cast from subtype to supertype.

Examples :

"Since a `Cat` is a type of `Animal`, the `Cat` object stored as an `Animal` is an example of an upcast. "
`Cat`は`Animal`の一種なので、`Animal`として格納された`Cat`オブジェクトはサブタイプからスーパタイプへのキャストの例です。
noun

アップキャスティングを介して送信されたメッセージ

Examples :

サーバーは、モバイルアプリのロケーションデータを、ジェネリックデータレシーバーからのアップキャスティングを介して送信されたメッセージとして受信しました。
verb

サブタイプからスーパータイプへキャストする

To cast from subtype to supertype.

Examples :

"The programming language allowed us to upcast a `Dog` object to an `Animal` object because a dog is an animal. "
プログラミング言語は、犬が動物であるため、`Dog`オブジェクトを`Animal`オブジェクトにサブタイプからスーパータイプへキャストすることを許可しました。
verb

Examples :

航空管制官は、この地域内のすべての飛行機が接近中の嵐に関する警告を受け取れるように、気象警報を放送することにしました。