public enum PrimitiveType extends Enum<PrimitiveType>
NativeType
s.
In conjunction with AccessFlags
this describes a specific
ArrayDataAccess
. For example, BYTE
with flags DIRTY
and VOLATILE
specifies DirtyVolatileByteArray
.
Enum Constant and Description |
---|
BOOLEAN |
BYTE |
CHAR |
DOUBLE |
FLOAT |
INT |
LONG |
SHORT |
UNDEFINED |
Modifier and Type | Method and Description |
---|---|
static PrimitiveType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimitiveType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimitiveType BOOLEAN
public static final PrimitiveType BYTE
public static final PrimitiveType CHAR
public static final PrimitiveType SHORT
public static final PrimitiveType INT
public static final PrimitiveType LONG
public static final PrimitiveType FLOAT
public static final PrimitiveType DOUBLE
public static final PrimitiveType UNDEFINED
public static PrimitiveType[] values()
for (PrimitiveType c : PrimitiveType.values()) System.out.println(c);
public static PrimitiveType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015–2022 ImgLib2. All rights reserved.