# ArrayRow.ArrayRowVariables

Artifact: [androidx.constraintlayout:constraintlayout-core](https://developer.android.com/jetpack/androidx/releases/constraintlayout) [View Source](https://cs.android.com/search?q=file:androidx/constraintlayout/core/ArrayRow.java+class:androidx.constraintlayout.core.ArrayRow.ArrayRowVariables) Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

*** ** * ** ***


```
interface ArrayRow.ArrayRowVariables
```

<br />

Known direct subclasses [ArrayLinkedVariables](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/ArrayLinkedVariables), [SolverVariableValues](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/SolverVariableValues)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/ArrayLinkedVariables` | Store a set of variables and their values in an array-based linked list. |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/SolverVariableValues` | Store a set of variables and their values in an array-based linked list coupled with a custom hashmap. |

*** ** * ** ***

## Summary

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#add(androidx.constraintlayout.core.SolverVariable,float,boolean)(v: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/SolverVariable!, value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, removeFromDefinition: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#clear()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#contains(androidx.constraintlayout.core.SolverVariable)(variable: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/SolverVariable!)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#display()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#divideByAmount(float)(amount: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#get(androidx.constraintlayout.core.SolverVariable)(variable: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/SolverVariable!)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#getCurrentSize()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/SolverVariable!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#getVariable(int)(index: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#getVariableValue(int)(index: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#indexOf(androidx.constraintlayout.core.SolverVariable)(variable: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/SolverVariable!)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#invert()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#put(androidx.constraintlayout.core.SolverVariable,float)(variable: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/SolverVariable!, value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#remove(androidx.constraintlayout.core.SolverVariable,boolean)(v: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/SolverVariable!, removeFromDefinition: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#sizeInBytes()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#use(androidx.constraintlayout.core.ArrayRow,boolean)(definition: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/ArrayRow!, removeFromDefinition: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` |

## Public functions

### add

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun add(v: SolverVariable!, value: Float, removeFromDefinition: Boolean): Unit
```

### clear

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun clear(): Unit
```

### contains

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun contains(variable: SolverVariable!): Boolean
```

### display

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun display(): Unit
```

### divideByAmount

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun divideByAmount(amount: Float): Unit
```

### get

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun get(variable: SolverVariable!): Float
```

### getCurrentSize

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun getCurrentSize(): Int
```

### getVariable

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun getVariable(index: Int): SolverVariable!
```

### getVariableValue

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun getVariableValue(index: Int): Float
```

### indexOf

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun indexOf(variable: SolverVariable!): Int
```

### invert

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun invert(): Unit
```

### put

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun put(variable: SolverVariable!, value: Float): Unit
```

### remove

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun remove(v: SolverVariable!, removeFromDefinition: Boolean): Float
```

### sizeInBytes

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun sizeInBytes(): Int
```

### use

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun use(definition: ArrayRow!, removeFromDefinition: Boolean): Float
```