public enum JPEG2000SegmentMarker extends Enum<JPEG2000SegmentMarker> implements CodedEnum
Enum Constant and Description |
---|
COC |
COD |
COM |
CRG |
EOC |
EPH |
PLM |
PLT |
POC |
PPM |
PPT |
QCC |
QCD |
RESERVED_DELIMITER_MARKER_MAX |
RESERVED_DELIMITER_MARKER_MIN |
RGN |
SIZ |
SOC |
SOC_WRONG_ENDIANNESS |
SOD |
SOP |
SOT |
TLM |
Modifier and Type | Field and Description |
---|---|
private int |
code
Code for the segment marker.
|
private static Map<Integer,JPEG2000SegmentMarker> |
lookup
Map used to retrieve the segment marker corresponding to the code.
|
private String |
name
The name of the segment marker.
|
Modifier and Type | Method and Description |
---|---|
static JPEG2000SegmentMarker |
get(int code)
Retrieves the segment marker by reverse lookup of its "code".
|
int |
getCode()
Implemented as specified by the
CodedEnum I/F. |
String |
getName()
Returns the name of the segment marker.
|
static JPEG2000SegmentMarker |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JPEG2000SegmentMarker[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JPEG2000SegmentMarker RESERVED_DELIMITER_MARKER_MIN
public static final JPEG2000SegmentMarker RESERVED_DELIMITER_MARKER_MAX
public static final JPEG2000SegmentMarker SOC
public static final JPEG2000SegmentMarker SOC_WRONG_ENDIANNESS
public static final JPEG2000SegmentMarker SOT
public static final JPEG2000SegmentMarker SOD
public static final JPEG2000SegmentMarker EOC
public static final JPEG2000SegmentMarker SIZ
public static final JPEG2000SegmentMarker COD
public static final JPEG2000SegmentMarker COC
public static final JPEG2000SegmentMarker RGN
public static final JPEG2000SegmentMarker QCD
public static final JPEG2000SegmentMarker QCC
public static final JPEG2000SegmentMarker POC
public static final JPEG2000SegmentMarker TLM
public static final JPEG2000SegmentMarker PLM
public static final JPEG2000SegmentMarker PLT
public static final JPEG2000SegmentMarker PPM
public static final JPEG2000SegmentMarker PPT
public static final JPEG2000SegmentMarker SOP
public static final JPEG2000SegmentMarker EPH
public static final JPEG2000SegmentMarker CRG
public static final JPEG2000SegmentMarker COM
private int code
private String name
private static final Map<Integer,JPEG2000SegmentMarker> lookup
public static JPEG2000SegmentMarker[] values()
for (JPEG2000SegmentMarker c : JPEG2000SegmentMarker.values()) System.out.println(c);
public static JPEG2000SegmentMarker 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 JPEG2000SegmentMarker get(int code)
code
- The code to look up.JPEG2000SegmentMarker
instance for the
code
or null
if it does not exist.public int getCode()
CodedEnum
I/F.getCode
in interface CodedEnum
CodedEnum.getCode()
public String getName()
Copyright © 2016 Open Microscopy Environment