public enum SEGMENT extends Enum<SEGMENT>
Enum Constant and Description |
---|
SEGMENT_CS |
SEGMENT_DS |
SEGMENT_ES |
SEGMENT_FS |
SEGMENT_GS |
SEGMENT_NONE |
SEGMENT_SS |
Modifier and Type | Method and Description |
---|---|
int |
prefix() |
static SEGMENT |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SEGMENT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SEGMENT SEGMENT_NONE
public static final SEGMENT SEGMENT_CS
public static final SEGMENT SEGMENT_SS
public static final SEGMENT SEGMENT_DS
public static final SEGMENT SEGMENT_ES
public static final SEGMENT SEGMENT_FS
public static final SEGMENT SEGMENT_GS
public static SEGMENT[] values()
for (SEGMENT c : SEGMENT.values()) System.out.println(c);
public static SEGMENT 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 final int prefix()
Copyright © 2017. All rights reserved.