public static enum CNMI.Mode extends Enum<CNMI.Mode>
Enum Constant and Description |
---|
_1 |
_2 |
_3 |
ONLY_TEL_0 |
Modifier and Type | Method and Description |
---|---|
int |
getIndex() |
static CNMI.Mode |
valueOf(int index) |
static CNMI.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CNMI.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CNMI.Mode ONLY_TEL_0
public static final CNMI.Mode _1
public static final CNMI.Mode _2
public static final CNMI.Mode _3
public static CNMI.Mode[] values()
for (CNMI.Mode c : CNMI.Mode.values()) System.out.println(c);
public static CNMI.Mode 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 getIndex()
public static CNMI.Mode valueOf(int index)
Copyright © 2015–2016 jSMS4Pi. All rights reserved.