Class MatrixDictComponents

All Implemented Interfaces:
JepComponent, Serializable

public class MatrixDictComponents extends DictionaryComponents
Provides a set of components for using dictionaries compatible with the com.singularsys.extensions.matrix package. See DictionaryComponents for the main documentation. It can be set up in three ways

When set with the MatrixDictComponents.Type.MATRIX_NO_NULL option dictionaries are represent as N by 2 MatrixI. As matrices have fixed sizes, methods that modify the size, clear(dict), remove(dict,'x') will throw exceptions, as will put(dict,'unknown',5).

The keys(map) and value(map) functions return results in as a VectorI. The entries(map) functions return results in as a MatrixI. Three components MatrixDictEntriesIterable, MatrixDictKeysIterable and MatrixDictValuesIterable, are not included by default, as they are intended to be used by the com.singularsys.extensions.stream package. These can be added manually or by editing the properties file.

Since:
Jep 4.1 extensions 2.2
See Also: