Class MatrixDictGet

All Implemented Interfaces:
ZeroLengthBehaviourI, ZeroLengthBehaviourI.DefaultZeroLengthBehaviourI, PostfixMathCommandI, Serializable

public class MatrixDictGet extends Get
Implementation of Get compatible with the matrix package. This version uses FieldI.eq(Object, Object) to tests keys for equality so it can also be used with the com.singularsys.extensions.field package.

Allows

mat = [['x',2], ['y',3], ['z',4]];
get(mat,'x');
Return value when key is missing is controlled by the ZeroLenghtBehaviour.
Since:
4.1 extensions 2.2
See Also: