TagCollection
TagCollection class
Represents the collection of tags (user defined pairs of strings)
add
| Name | Description |
|---|---|
| add (String, String) | Adds a new tag to collection. |
Parameters:
| Name | Type | Description |
|---|---|---|
| name | String | The name of the tag. |
| value | String | The value of the tag. |
Returns: int
clear
| Name | Description |
|---|---|
| clear () | Removes all tags from the collection. |
Returns: void
contains
| Name | Description |
|---|---|
| contains (String) | Determines whether the collection contains a specific name. |
Parameters:
| Name | Type | Description |
|---|---|---|
| name | String | The key to locate. |
Returns: boolean
getNameByIndex
| Name | Description |
|---|---|
| getNameByIndex (int) | Returns key of a tag at the specified index. |
Parameters:
| Name | Type | Description |
|---|---|---|
| index | int | Index of a tag to return. |
Returns: String
getNamesOfTags
| Name | Description |
|---|---|
| getNamesOfTags () | Returns names of tags. |
Returns: String
getSyncRoot
| Name | Description |
|---|---|
| getSyncRoot () | Returns a synchronization root. Read-only Object. |
Returns: Object
getValueByIndex
| Name | Description |
|---|---|
| getValueByIndex (int) | Returns value of a tag at the specified index. |
Parameters:
| Name | Type | Description |
|---|---|---|
| index | int | Index of a tag to return. |
Returns: String
get_Item
| Name | Description |
|---|---|
| get_Item (String) | Returns or sets a key and a value pair of a tag. |
Parameters:
| Name | Type | Description |
|---|---|---|
| name | String | Key of a tag. |
Returns: String
indexOfName
| Name | Description |
|---|---|
| indexOfName (String) | Returns the zero-based index of the specified key in the collection. |
Parameters:
| Name | Type | Description |
|---|---|---|
| name | String | The name to locate in the collection. |
Returns: int
isSynchronized
| Name | Description |
|---|---|
| isSynchronized () | Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean. |
Returns: boolean
iterator
| Name | Description |
|---|---|
| iterator () | Returns an enumerator that iterates through the collection. |
Returns:
iteratorJava
| Name | Description |
|---|---|
| iteratorJava () | Returns a java iterator for the entire collection. |
Returns:
remove
| Name | Description |
|---|---|
| remove (String) | Removes the tag with a specified name from the collection. |
Parameters:
| Name | Type | Description |
|---|---|---|
| name | String | The name of tag to remove. |
Returns: void
removeAt
| Name | Description |
|---|---|
| removeAt (int) | Removes the tag at the specified index. |
Parameters:
| Name | Type | Description |
|---|---|---|
| index | int | The zero-based index of the tag to remove. |
Returns: void
set_Item
| Name | Description |
|---|---|
| set_Item (String, String) | Returns or sets a key and a value pair of a tag. |
Parameters:
| Name | Type | Description |
|---|---|---|
| name | String | Key of a tag. |
Returns: void
size
| Name | Description |
|---|---|
| size () | Returns a number of tags in the collectoin. Read-only int. |
Returns: int