このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Service EnumerableMap
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: コンテナ ::

unpublished service EnumerableMap
Supported Interface
XEnumerableMap
Usage 制限s
not published
Description
供給するs a default XEnumerableMap 実施

For the 重要なs put into the 地図/計画する using XMap::put or createImmutable, the に引き続いて 支配するs 適用する:

  • A 無効の 重要な is not 許すd.
  • If the 重要な type is BOOLEAN, CHAR, FLOAT, DOUBLE, STRING, TYPE, or UNSIGNED HYPER, then only 重要なs of 正確に/まさに this type are 受託するd.
  • If the 重要な type is DOUBLE or FLOAT, then 二塁打.NaN それぞれ Float.NaN is not 受託するd as 重要な.
  • If the 重要な type's class is ::com::sun::星/主役にする::uno::TypeClass::ENUM, then only 重要なs of 正確に/まさに this type are 受託するd.
  • If the 重要な type is any of BYTE, SHORT, UNSIGNED SHORT, LONG, UNSIGNED LONG, or HYPER, then all 重要なs which can losslessly be 変えるd to this type (かもしれない using 広げるing 転換s) are 受託するd.
  • If the 重要な type is an interface type, then all 重要な values denoting 反対するs which can be queried for the given interface are 受託するd.
  • All other 重要な types are 拒絶するd.

For the values put into the 地図/計画する using XMap::put or createImmutable, the に引き続いて 支配するs 適用する:

  • The 無効の value will be 受託するd to be put into the 地図/計画する.

  • If the value type's class is ::com::sun::星/主役にする::uno::TypeClass::ANY, any value will be 受託するd.
  • If the value type is an interface type, then all values denoting 反対するs which can be queried for the given interface are 受託するd.
  • If the value type's class is ::com::sun::星/主役にする::uno::TypeClass::EXCEPTION or ::com::sun::星/主役にする::uno::TypeClass::STRUCT, then values whose type equals the value type, or is a sub class of the value type, are 受託するd.
  • For all other value types, only values whose type matches 正確に/まさに are 受託するd.
  • If the value type is DOUBLE or FLOAT, then 二塁打.NaN それぞれ Float.NaN is not 受託するd.

The factory methods of the XEnumerableMap interface support both 孤立するd and 非,不,無-孤立するd enumerators. The latter one will be automatically 性質の/したい気がして when the 地図/計画する changes after enumerator 創造, so every 試みる/企てる to use them will result in a ::com::sun::星/主役にする::lang::DisposedException 存在 thrown.

See also
http://udk.openoffice.org/ありふれた/man/typesystem.html


建設者s' 要約
create creates an instance mapping from the given 重要な type to the given value type  
createImmutable creates an instance mapping from the given 重要な type to the given value type  
建設者s' 詳細(に述べる)s
create
create( [in] type  KeyType,
[in] type  ValueType )
raises( ::com::sun::星/主役にする::beans::IllegalTypeException );

Description
creates an instance mapping from the given 重要な type to the given value type
Parameter KeyType
denotes the type of the 重要なs in the to-be-created 地図/計画する
Parameter ValueType
denotes the type of the values in the to-be-created 地図/計画する
Throws
::com::sun::星/主役にする::beans::IllegalTypeException if KeyType or ValueType are unsupported types. For values, all type classes except ::com::sun::星/主役にする::uno::TypeClass::VOID and ::com::sun::星/主役にする::uno::TypeClass::UNKNOWN are 受託するd. For 重要なs, scalar types, strings, com::sun::星/主役にする::uno::Type itself, and interface types are 受託するd.
createImmutable
createImmutable( [in] type  KeyType,
[in] type  ValueType,
[in] sequence< ::com::sun::星/主役にする::beans::Pair< string, string > >  Values )
raises( ::com::sun::星/主役にする::beans::IllegalTypeException,
::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
creates an instance mapping from the given 重要な type to the given value type

The resulting 地図/計画する is immutable, so later alter 操作/手術s on it will fail with a ::com::sun::星/主役にする::lang::NoSupportException.

Parameter KeyType
denotes the type of the 重要なs in the to-be-created 地図/計画する
Parameter ValueType
denotes the type of the values in the to-be-created 地図/計画する
Parameter Values
denote the values 含む/封じ込めるd in the to-be-created 地図/計画する
Throws
::com::sun::星/主役にする::beans::IllegalTypeException if KeyType or ValueType are unsupported types. For values, all type classes except ::com::sun::星/主役にする::uno::TypeClass::VOID are 受託するd.
For 重要なs, scalar types, strings, com::sun::星/主役にする::uno::Type itself, and interface types are 受託するd.
Throws
::com::sun::星/主役にする::lang::IllegalArgumentException if any of the given values or 重要なs 侵害する/違反するs the 重要な 支配するs or value 支配するs.

 
最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.