IVariableCollection class abstract

Defines a variables list.

Implementers

Constructors

IVariableCollection()

Properties

hashCode int
The hash code for this object.
no setterinherited
length int
Gets a number of variables stored in the collection. Returns a number of stored variables.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(IVariable variable) → void
Adds a new variable to the collection.
clear() → void
Clears the collection.
clearValues() → void
Clears all stored variables (assigns null values).
findByName(String name) IVariable?
Finds variable in the list by it's name.
findIndexByName(String name) int
Finds variable index in the list by it's name.
get(int index) IVariable
Get a variable by its index.
getAll() List<IVariable>
Get all variables stores in the collection Returns a list with variables.
locate(String name) IVariable
Finds variable in the list or create a new one if variable was not found.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(int index) → void
Removes a variable by its index.
removeByName(String name) → void
Removes variable by it's name.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited