Constructors' Summary |
create |
creates an instance mapping from the given key type to the given value type
|
createImmutable |
creates an instance mapping from the given key type to the given value type
|
Constructors' Details |
create
- Description
- creates an instance mapping from the given key type to the given value type
- Parameter KeyType
- denotes the type of the keys in the to-be-created map
- Parameter ValueType
- denotes the type of the values in the to-be-created map
- Throws
- ::com::sun::star::beans::IllegalTypeException
if KeyType or ValueType are unsupported types.
For values, all type classes except ::com::sun::star::uno::TypeClass::VOID
and ::com::sun::star::uno::TypeClass::UNKNOWN are accepted.
For keys, scalar types, strings, com::sun::star::uno::Type itself, and interface
types are accepted.
|
|
createImmutable
- Description
- creates an instance mapping from the given key type to the given value type
The resulting map is immutable, so later alter operations on it will fail
with a ::com::sun::star::lang::NoSupportException.
- Parameter KeyType
- denotes the type of the keys in the to-be-created map
- Parameter ValueType
- denotes the type of the values in the to-be-created map
- Parameter Values
- denote the values contained in the to-be-created map
- Throws
- ::com::sun::star::beans::IllegalTypeException
if KeyType or ValueType are unsupported types.
For values, all type classes except ::com::sun::star::uno::TypeClass::VOID
are accepted.
For keys, scalar types, strings, com::sun::star::uno::Type itself, and interface
types are accepted.
- Throws
- ::com::sun::star::lang::IllegalArgumentException
if any of the given values or keys violates the key rules or
value rules.
|
|
Top of Page
Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.