Package io.deephaven.util
Enum Class 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[]>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface io.deephaven.util.PrimitiveArrayType
PrimitiveArrayType.Booleans, PrimitiveArrayType.Bytes, PrimitiveArrayType.Chars, PrimitiveArrayType.Constants, PrimitiveArrayType.Doubles, PrimitiveArrayType.Floats, PrimitiveArrayType.Ints, PrimitiveArrayType.Longs, PrimitiveArrayType.Shorts, PrimitiveArrayType.Visitor
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
arrayCopy
(int[] src, int srcPos, int[] dest, int destPos, int length) A strongly-typed equivalent toSystem.arraycopy(Object, int, Object, int, int)
.Class<int[]>
int
getLength
(int[] array) A strongly-typed equivalent toArray.getLength(Object)
.Class<?>
int[]
newInstance
(int len) A strongly-typed equivalent toArray.newInstance(Class, int)
.static PrimitiveArrayType.Ints
Returns the enum constant of this class with the specified name.static PrimitiveArrayType.Ints[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.<V extends PrimitiveArrayType.Visitor>
Vwalk
(V visitor) Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface io.deephaven.util.ArrayType
copyOfRange, isAssignableFrom, isAssignableFromObject
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getPrimitiveType
- Specified by:
getPrimitiveType
in interfacePrimitiveArrayType<int[]>
-
getArrayType
- Specified by:
getArrayType
in interfaceArrayType<int[]>
-
getLength
public int getLength(int[] array) Description copied from interface:ArrayType
A strongly-typed equivalent toArray.getLength(Object)
. -
newInstance
public int[] newInstance(int len) Description copied from interface:ArrayType
A strongly-typed equivalent toArray.newInstance(Class, int)
.- Specified by:
newInstance
in interfaceArrayType<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 toSystem.arraycopy(Object, int, Object, int, int)
. -
walk
- Specified by:
walk
in interfacePrimitiveArrayType<int[]>
-