Package net.algart.arrays
Class Arrays.CopyStatus
java.lang.Object
net.algart.arrays.Arrays.CopyStatus
- Direct Known Subclasses:
Arrays.ComparingCopyStatus
- Enclosing class:
Arrays
The information about the copying, returned by copying methods of this package:
Arrays.copy(ArrayContext, UpdatableArray, Array)
,
Arrays.copy(ArrayContext, UpdatableArray, Array, int, boolean)
,
Matrices.copy(ArrayContext, Matrix, Matrix)
, etc.-
Method Summary
Modifier and TypeMethodDescriptionReturns the algorithm which was used for copying.boolean
Returns true if and only if the array was copied in "strict" mode, i.e. byArrays.copy(ArrayContext, UpdatableArray, Array, int, boolean)
orMatrices.copy(ArrayContext, Matrix, Matrix, int, boolean)
method with the argument strictMode=true or by any other method of copying arrays.toString()
Returns a brief string description of this object.
-
Method Details
-
algorithm
Returns the algorithm which was used for copying.- Returns:
- the algorithm which was used for copying.
-
strictMode
public boolean strictMode()Returns true if and only if the array was copied in "strict" mode, i.e. byArrays.copy(ArrayContext, UpdatableArray, Array, int, boolean)
orMatrices.copy(ArrayContext, Matrix, Matrix, int, boolean)
method with the argument strictMode=true or by any other method of copying arrays. Note: if this value is false, it does not guarantee that some "non-strict" algorithm was really used, it does only mean that the corresponding strictMode argument of the copying method was false.- Returns:
- true the array was copyied strictly, false if it was copyied
by
Arrays.copy(ArrayContext, UpdatableArray, Array, int, boolean)
orMatrices.copy(ArrayContext, Matrix, Matrix, int, boolean)
method with strictMode=false.
-
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.
-