Methods' Details |
getValue
- Description
- reads data from the map.
- Parameter aKey
- The key string which should be searched for.
- Returns
- the value matching aKey.
- Throws
- com::sun::star::container::NoSuchElementException
if an element under aKey does not exist.
|
|
hasValue
boolean |
hasValue( |
[in] string |
aKey ); |
- Description
- checks for element existence.
- Parameter aKey
- The key string which should be searched for.
- Returns
- true if an element with key aKey exists.
|
|
insertValue
- Description
- writes data to the map.
- Parameter aKey
- The key string which should be used to store the value.
- Parameter aValue
- The value that should be stored.
- Throws
- com::sun::star::lang::IllegalArgumentException
if the element could not be inserted.
- Throws
- com::sun::star::container::ElementExistException
if there is already a value stored under the key aKey.
|
|
getKeyByIndex
- Description
- obtains the key of an element by index.
- Parameter nIndex
- is the index of the element.
- Returns
- the key string matching the given index.
- Throws
- com::sun::star::lang::IndexOutOfBoundsException
if the specified index is greater than the number of
elements
|
|
getValueByIndex
- Description
- obtains the value of an element by index.
- Parameter nIndex
- is the index of the key.
- Returns
- the value matching the given index.
- Throws
- com::sun::star::lang::IndexOutOfBoundsException
if the specified index is greater than the number of
elements
|
|
Copyright © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.