Package androidx.constraintlayout.core
Interface ArrayRow.ArrayRowVariables
-
- All Known Implementing Classes:
ArrayLinkedVariables,SolverVariableValues
- Enclosing class:
- ArrayRow
public static interface ArrayRow.ArrayRowVariables
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(SolverVariable v, float value, boolean removeFromDefinition)voidclear()booleancontains(SolverVariable variable)voiddisplay()voiddivideByAmount(float amount)floatget(SolverVariable variable)intgetCurrentSize()SolverVariablegetVariable(int index)floatgetVariableValue(int index)intindexOf(SolverVariable variable)voidinvert()voidput(SolverVariable variable, float value)floatremove(SolverVariable v, boolean removeFromDefinition)intsizeInBytes()floatuse(ArrayRow definition, boolean removeFromDefinition)
-
-
-
Method Detail
-
getCurrentSize
int getCurrentSize()
-
getVariable
SolverVariable getVariable(int index)
-
getVariableValue
float getVariableValue(int index)
-
get
float get(SolverVariable variable)
-
indexOf
int indexOf(SolverVariable variable)
-
display
void display()
-
clear
void clear()
-
contains
boolean contains(SolverVariable variable)
-
put
void put(SolverVariable variable, float value)
-
sizeInBytes
int sizeInBytes()
-
invert
void invert()
-
remove
float remove(SolverVariable v, boolean removeFromDefinition)
-
divideByAmount
void divideByAmount(float amount)
-
add
void add(SolverVariable v, float value, boolean removeFromDefinition)
-
use
float use(ArrayRow definition, boolean removeFromDefinition)
-
-