wrapper
/ˈræpər/
発展
名詞
1
包装、包み
基本
商品などを包むための紙、プラスチック、布などの材料を指す。
The candy bar came in a colorful wrapper.
そのキャンディーバーはカラフルな包装紙に包まれていた。
She carefully unwrapped the present from its paper wrapper.
彼女はプレゼントを包装紙から丁寧に開けた。
類義語:
covering
packaging
casing
関連語:
packaging
covering
container
envelope
2
(ソフトウェアの)ラッパー
発展
既存のソフトウェアやハードウェアの機能を、より簡単に利用できるようにするためのソフトウェア。
The software uses a wrapper to interact with the hardware.
そのソフトウェアは、ハードウェアとのやり取りにラッパーを使用している。
This is a database wrapper which provides easier access to the database.
これはデータベースへのアクセスを容易にするデータベースラッパーです。
類義語:
interface
abstraction
encapsulation
関連語:
software
interface
API
library
3
(プログラミング用語) 外側の関数を追加して、既存の関数を取り巻くこと。
発展
既存の関数の機能を拡張したり、変更したりすることなく、追加の機能や処理を追加する際に用いる。
We used a wrapper function to handle error conditions.
エラー条件を処理するために、ラッパー関数を使用した。
This wrapper function adds logging capabilities to the original function.
このラッパー関数は、元の関数にログ機能を追加する。
類義語:
encapsulation
decorator
関連語:
function
method
procedure
encapsulation
暗記のコツ
- wrap (包む) の名詞形と覚える。様々な文脈での使用例を理解する。
語彙ネットワーク
類義語:
covering
packaging
container
encapsulation
対義語:
派生語:
関連語:
package
cover
wrap
enclose
よく使う表現・コロケーション
よく使う表現:
chocolate wrapper
gift wrapper
software wrapper
コロケーション:
動詞:
wrap in a wrapper
unwrap a wrapper
形容詞:
protective wrapper
attractive wrapper
名詞:
paper wrapper
plastic wrapper
candy wrapper