public enum PixelType extends Enum<PixelType> implements Enumeration
Enum Constant and Description |
---|
BIT
bit mask.
|
COMPLEXDOUBLE
complex double-precision floating point.
|
COMPLEXFLOAT
complex single-precision floating point.
|
DOUBLE
double-precision floating point.
|
FLOAT
single-precision floating point.
|
INT16
16 bit signed integer.
|
INT32
32 bit signed integer.
|
INT8
8 bit signed integer.
|
UINT16
16 bit unsigned integer.
|
UINT32
32 bit unsigned integer.
|
UINT8
8 bit unsigned integer.
|
Modifier and Type | Method and Description |
---|---|
static PixelType |
fromString(String value) |
String |
getValue() |
String |
toString() |
static PixelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PixelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PixelType INT8
public static final PixelType INT16
public static final PixelType INT32
public static final PixelType UINT8
public static final PixelType UINT16
public static final PixelType UINT32
public static final PixelType FLOAT
public static final PixelType DOUBLE
public static final PixelType COMPLEXFLOAT
public static final PixelType COMPLEXDOUBLE
public static final PixelType BIT
private final String value
public static PixelType[] values()
for (PixelType c : PixelType.values()) System.out.println(c);
public static PixelType 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 nullpublic static PixelType fromString(String value) throws EnumerationException
EnumerationException
public String getValue()
Copyright © 2016 Open Microscopy Environment