ArrayRow.ArrayRowVariables


public interface ArrayRow.ArrayRowVariables

Known direct subclasses
ArrayLinkedVariables

Store a set of variables and their values in an array-based linked list.

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
add(SolverVariable v, float value, boolean removeFromDefinition)
abstract void
abstract boolean
abstract void
abstract void
divideByAmount(float amount)
abstract float
get(SolverVariable variable)
abstract int
abstract SolverVariable
getVariable(int index)
abstract float
getVariableValue(int index)
abstract int
abstract void
abstract void
put(SolverVariable variable, float value)
abstract float
remove(SolverVariable v, boolean removeFromDefinition)
abstract int
abstract float
use(ArrayRow definition, boolean removeFromDefinition)

Public methods

add

Added in 1.1.0
abstract void add(SolverVariable v, float value, boolean removeFromDefinition)

clear

Added in 1.1.0
abstract void clear()

contains

Added in 1.1.0
abstract boolean contains(SolverVariable variable)

display

Added in 1.1.0
abstract void display()

divideByAmount

Added in 1.1.0
abstract void divideByAmount(float amount)

get

Added in 1.1.0
abstract float get(SolverVariable variable)

getCurrentSize

Added in 1.1.0
abstract int getCurrentSize()

getVariable

Added in 1.1.0
abstract SolverVariable getVariable(int index)

getVariableValue

Added in 1.1.0
abstract float getVariableValue(int index)

indexOf

Added in 1.1.0
abstract int indexOf(SolverVariable variable)

invert

Added in 1.1.0
abstract void invert()

put

Added in 1.1.0
abstract void put(SolverVariable variable, float value)

remove

Added in 1.1.0
abstract float remove(SolverVariable v, boolean removeFromDefinition)

sizeInBytes

Added in 1.1.0
abstract int sizeInBytes()

use

Added in 1.1.0
abstract float use(ArrayRow definition, boolean removeFromDefinition)