url 名を
| self の名前。 |
| self を含む |
| グローバル リソースの名前空間にあるこの |
| コレクションのクローンを返します。 |
| self.url を tail に連結して、新しい 戻り値のクエリおよびアンカーは tail から解析されます。 |
| コレクションの各キーを含む |
| コレクションの各要素を含む |
self の名前。
説明
コレクションのクローンを返します。
戻り値
説明
例
| 例 | |
{value
|| Declare and initialize set-1 (the original set).
let set-1:{Set-of String} =
{new {Set-of String}, "apple", "banana", "cherry"}
|| Initialize set-2 with a clone of the contents of
|| set-1.
let set-2:{Set-of String} = {set-1.clone}
|| Use a VBox to display the contents of set-2.
|| Iterate over the contents of set-2, adding them
|| to the VBox. Then display the VBox.
let message:VBox = {VBox}
{for each-element:String in set-2 do
{message.add each-element}
}
message
}
|
注意事項
注意事項
self.url を tail に連結して、新しい
戻り値のクエリおよびアンカーは tail から解析されます。
説明
コレクションの各キーを含む
戻り値
説明
例
| 例 | |
{value
|| Declare and initialize a hash table with
|| int keys and String elements.
let my-table:{HashTable-of int, String} =
{new {HashTable-of int, String},
162094, "tom",
439853, "dick",
098627, "harry"
}
|| Create an Iterator-of from the set.
let my-iterator:{Iterator-of int} =
{my-table.keys-to-Iterator}
|| Use a VBox to display the contents of my-iterator.
|| Iterate over the contents of my-iterator, adding
|| them to the VBox. Then display the VBox.
let message:VBox = {VBox}
{for each-element:int in my-iterator do
{message.add each-element}
}
message
|| Note that the order of the elements in a hash
|| table is arbitrary.
}
|
注意事項
注意事項
説明
コレクションの各要素を含む
戻り値
説明
例
| 例 | |
{value
|| Create a new set.
let my-set:{Set-of String} =
{new {Set-of String}, "apple", "banana", "cherry"}
|| Create an Iterator-of from the set.
let my-iterator:{Iterator-of String} = {my-set.to-Iterator}
|| Use a VBox to display the contents of my-iterator.
|| Iterate over the contents of my-iterator, adding
|| them to the VBox. Then display the VBox.
let message:VBox = {VBox}
{for each-element:String in my-iterator do
{message.add each-element}
}
message
}
|
注意事項
注意事項