public enum SpmStatus extends Enum<SpmStatus>
| Enum Constant and Description |
|---|
Contend |
Free |
SPM |
SPM_ERROR |
Unknown_Pool |
| Modifier and Type | Method and Description |
|---|---|
static SpmStatus |
forValue(int value) |
int |
getValue() |
static SpmStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpmStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpmStatus SPM
public static final SpmStatus Contend
public static final SpmStatus Free
public static final SpmStatus Unknown_Pool
public static final SpmStatus SPM_ERROR
public static SpmStatus[] values()
for (SpmStatus c : SpmStatus.values()) System.out.println(c);
public static SpmStatus 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 int getValue()
public static SpmStatus forValue(int value)
Copyright © 2012. All Rights Reserved.