HTTP リクエストのヘッダー フィールドを操作するクラス。
説明
注意事項
| ハッシュ テーブル内のキーと値のペアで、 |
| 既存のキーに値を追加します。 |
| ハッシュ テーブルのクローンを返します。 |
ハッシュ テーブル内のキーと値のペアで、
既存のキーに値を追加します。
説明
ハッシュ テーブルのクローンを返します。
戻り値
説明
例
| 例 | |
![]() | |
|| Declare and initialize a hash table with
|| String keys and int elements.
{let table-1:{HashTable-of int, String} =
{new {HashTable-of int, String},
162094, "tom",
439853, "dick",
098627, "harry"
}
}
|| Declare table-2 (a target hash table) and initialize it with
|| a copy of the contents of table-1.
{let table-2:{HashTable-of int, String} = {table-1.clone}}
|| Use a VBox to display the contents of table-2.
|| For each key in table-2 add an HBox to the VBox.
|| The HBox contains the relevant key and element.
|| Then display the VBox.
{let message:VBox = {VBox}}
{for key i:int in table-2 do
{message.add {HBox i, " ", {table-2.get i}}}
}
{value message}
|
注意事項