Enum Class PrimitiveArrayType.Ints

java.lang.Object
java.lang.Enum<PrimitiveArrayType.Ints>
io.deephaven.util.PrimitiveArrayType.Ints
All Implemented Interfaces:
ArrayType<int[]>, PrimitiveArrayType<int[]>, Serializable, Comparable<PrimitiveArrayType.Ints>, java.lang.constant.Constable
Enclosing interface:
PrimitiveArrayType<T>

public static enum PrimitiveArrayType.Ints extends Enum<PrimitiveArrayType.Ints> implements PrimitiveArrayType<int[]>
  • Enum Constant Details

  • Method Details

    • values

      public static PrimitiveArrayType.Ints[] 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 PrimitiveArrayType.Ints 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
    • getPrimitiveType

      public Class<?> getPrimitiveType()
      Specified by:
      getPrimitiveType in interface PrimitiveArrayType<int[]>
    • getArrayType

      public Class<int[]> getArrayType()
      Specified by:
      getArrayType in interface ArrayType<int[]>
    • getLength

      public int getLength(int[] array)
      Description copied from interface: ArrayType
      A strongly-typed equivalent to Array.getLength(Object).
      Specified by:
      getLength in interface ArrayType<int[]>
      Parameters:
      array - the array
      Returns:
      the length of the array
    • newInstance

      public int[] newInstance(int len)
      Description copied from interface: ArrayType
      A strongly-typed equivalent to Array.newInstance(Class, int).
      Specified by:
      newInstance in interface ArrayType<int[]>
      Parameters:
      len - the length of the new array
      Returns:
      the new array
    • arrayCopy

      public void arrayCopy(int[] src, int srcPos, int[] dest, int destPos, int length)
      Description copied from interface: ArrayType
      A strongly-typed equivalent to System.arraycopy(Object, int, Object, int, int).
      Specified by:
      arrayCopy in interface ArrayType<int[]>
      Parameters:
      src - the source array.
      srcPos - starting position in the source array.
      dest - the destination array.
      destPos - starting position in the destination data.
      length - the number of array elements to be copied.
    • walk

      public <V extends PrimitiveArrayType.Visitor> V walk(V visitor)
      Specified by:
      walk in interface PrimitiveArrayType<int[]>