- All Implemented Interfaces:
public final class JSCNArrayextends AbstractJSCDataA wrapper for 2-dimensional number arrays that conforms to the
JSCDatainterface. Number arrays are stored as
double. It provides some convenience methods for matrix transformation, but it is not intended to serve as a general purpose matrix class. Instead it provides an adapter to set and get instances of the
Jama.Matrixclass, which is probably the de facto standard matrix class for JAVA .
JSCNArrayis empty, if the stored array is
nullor has either zero rows or columns. All rows of array values must have the same length.
All array arguments are copied before they are set as values. The original arrays are untouched. In a similar way all
getmethods return either a copy of a mutable object (like
double) or a reference to an immutable object.
Whenever the value of this data object changes, registered
JSCDataListenersare notified via a
JSCDataEvent. If not otherwise stated, the event objects always contain the values before the change and after the change.
This class is thread-safe. All access to mutable data is synchronized. All events are fired outside the synchronized blocks.