Tuple class
A class to represent two-dimensional or n-dimensional tuples.
Constructors
- Tuple()
Properties
Methods
-
add(
List yourData) → void - This method adds data to the tuple and populates the data field.
-
dimN(
int dimension) → List - This method returns the nth dimension of a tuple.
-
dimOne(
) → List - This method returns a dynamic list of the tuple's first dimension.
-
dimTwo(
) → List - This method returns a dynamic list of the tuple's second dimension.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map -
This method tries to convert
a two-dimnensional tuple into
a
{key:value}
pair. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited