# 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)

*** ** * ** ***


```
public interface ArrayRow.ArrayRowVariables
```

<br />

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

|---|---|
| `https://developer.android.com/reference/androidx/constraintlayout/core/ArrayLinkedVariables` | Store a set of variables and their values in an array-based linked list. |
| `https://developer.android.com/reference/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 methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#add(androidx.constraintlayout.core.SolverVariable,float,boolean)(https://developer.android.com/reference/androidx/constraintlayout/core/SolverVariable v, float value, boolean removeFromDefinition)` |
| `abstract void` | `https://developer.android.com/reference/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#clear()()` |
| `abstract boolean` | `https://developer.android.com/reference/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#contains(androidx.constraintlayout.core.SolverVariable)(https://developer.android.com/reference/androidx/constraintlayout/core/SolverVariable variable)` |
| `abstract void` | `https://developer.android.com/reference/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#display()()` |
| `abstract void` | `https://developer.android.com/reference/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#divideByAmount(float)(float amount)` |
| `abstract float` | `https://developer.android.com/reference/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#get(androidx.constraintlayout.core.SolverVariable)(https://developer.android.com/reference/androidx/constraintlayout/core/SolverVariable variable)` |
| `abstract int` | `https://developer.android.com/reference/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#getCurrentSize()()` |
| `abstract https://developer.android.com/reference/androidx/constraintlayout/core/SolverVariable` | `https://developer.android.com/reference/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#getVariable(int)(int index)` |
| `abstract float` | `https://developer.android.com/reference/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#getVariableValue(int)(int index)` |
| `abstract int` | `https://developer.android.com/reference/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#indexOf(androidx.constraintlayout.core.SolverVariable)(https://developer.android.com/reference/androidx/constraintlayout/core/SolverVariable variable)` |
| `abstract void` | `https://developer.android.com/reference/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#invert()()` |
| `abstract void` | `https://developer.android.com/reference/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#put(androidx.constraintlayout.core.SolverVariable,float)(https://developer.android.com/reference/androidx/constraintlayout/core/SolverVariable variable, float value)` |
| `abstract float` | `https://developer.android.com/reference/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#remove(androidx.constraintlayout.core.SolverVariable,boolean)(https://developer.android.com/reference/androidx/constraintlayout/core/SolverVariable v, boolean removeFromDefinition)` |
| `abstract int` | `https://developer.android.com/reference/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#sizeInBytes()()` |
| `abstract float` | `https://developer.android.com/reference/androidx/constraintlayout/core/ArrayRow.ArrayRowVariables#use(androidx.constraintlayout.core.ArrayRow,boolean)(https://developer.android.com/reference/androidx/constraintlayout/core/ArrayRow definition, boolean removeFromDefinition)` |

## Public methods

### add

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

```
abstract void add(SolverVariable v, float value, boolean removeFromDefinition)
```

### clear

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

```
abstract void clear()
```

### contains

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

```
abstract boolean contains(SolverVariable variable)
```

### display

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

```
abstract void display()
```

### divideByAmount

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

```
abstract void divideByAmount(float amount)
```

### get

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

```
abstract float get(SolverVariable variable)
```

### getCurrentSize

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

```
abstract int getCurrentSize()
```

### getVariable

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

```
abstract SolverVariable getVariable(int index)
```

### getVariableValue

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

```
abstract float getVariableValue(int index)
```

### indexOf

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

```
abstract int indexOf(SolverVariable variable)
```

### invert

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

```
abstract void invert()
```

### put

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

```
abstract void put(SolverVariable variable, float value)
```

### remove

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

```
abstract float remove(SolverVariable v, boolean removeFromDefinition)
```

### sizeInBytes

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

```
abstract int sizeInBytes()
```

### use

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

```
abstract float use(ArrayRow definition, boolean removeFromDefinition)
```