# ValueIterator.Element

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# Element

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/icu/util/ValueIterator.Element "View this page in Java")  

```
class Element
```

|---|----------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                   ||
| ↳ | [android.icu.util.ValueIterator.Element](https://developer.android.com/reference/kotlin/android/icu/util/ValueIterator.Element#) |

The return result container of each iteration. Stores the next integer index and its associated value Object.

## Summary

|                                                                        Public constructors                                                                        ||
|----------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [Element](https://developer.android.com/reference/kotlin/android/icu/util/ValueIterator.Element#Element())`()` Empty default constructor to make javadoc happy |

|                                                                                                                      Properties                                                                                                                       ||
|-----------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)  | [integer](https://developer.android.com/reference/kotlin/android/icu/util/ValueIterator.Element#integer:kotlin.Int) Integer index of the current iteration               |
| [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)! | [value](https://developer.android.com/reference/kotlin/android/icu/util/ValueIterator.Element#value:kotlin.Any) Gets the Object value associated with the integer index. |

## Public constructors

### Element

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
Element()
```

Empty default constructor to make javadoc happy

## Properties

### integer

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
var integer: Int
```

Integer index of the current iteration  

### value

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
var value: Any!
```

Gets the Object value associated with the integer index.