Enum Class Arrays.CopyAlgorithm

java.lang.Object
java.lang.Enum<Arrays.CopyAlgorithm>
net.algart.arrays.Arrays.CopyAlgorithm
All Implemented Interfaces:
Serializable, Comparable<Arrays.CopyAlgorithm>, Constable
Enclosing class:
Arrays

public static enum Arrays.CopyAlgorithm extends Enum<Arrays.CopyAlgorithm>
The information about the internal algorithm, which was used by copying methods of this package: Arrays.copy(ArrayContext, UpdatableArray, Array), Arrays.copy(ArrayContext, UpdatableArray, Array, int, boolean), Arrays.compareAndCopy(ArrayContext, UpdatableArray, Array), Matrices.copy(ArrayContext, Matrix, Matrix), etc. This information is returned by Arrays.CopyStatus.algorithm() method of the object, returned by all these copying methods. Can be useful for profiling and debugging needs.
  • Enum Constant Details

  • Method Details

    • values

      public static Arrays.CopyAlgorithm[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Arrays.CopyAlgorithm valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null