Package net.algart.arrays
Class Arrays.ComparingCopyStatus
java.lang.Object
net.algart.arrays.Arrays.CopyStatus
net.algart.arrays.Arrays.ComparingCopyStatus
- Enclosing class:
Arrays
The information about the copying, returned by
Arrays.compareAndCopy(ArrayContext, UpdatableArray, Array)
and
Matrices.compareAndCopy(ArrayContext, Matrix, Matrix)
methods.-
Method Summary
Modifier and TypeMethodDescriptionboolean
changed()
Returns true if and only if at least one element of the destination array was changed as a result of copying from the source array, in terms of theArray.equals(Object)
method.toString()
Returns a brief string description of this object.Methods inherited from class net.algart.arrays.Arrays.CopyStatus
algorithm, strictMode
-
Method Details
-
changed
public boolean changed()Returns true if and only if at least one element of the destination array was changed as a result of copying from the source array, in terms of theArray.equals(Object)
method.- Returns:
- whether the destination array was changed as a result of copying.
-
toString
Returns a brief string description of this object.The result of this method may depend on implementation and usually contains the indexes and values of the found minimum and maximum.
- Overrides:
toString
in classArrays.CopyStatus
- Returns:
- a brief string description of this object.
-