Package com.luna.common.i18n
Enum Class Country
- All Implemented Interfaces:
Serializable
,Comparable<Country>
,java.lang.constant.Constable
Country.java
国家以及简称的枚举
- Since:
- 5.0.0
版本 修改人 修改日期 修改内容描述 ---------------------------------------------- 5.0.0 luna 2021年3月23日 ----------------------------------------------
- Author:
- luna 2021/8/18
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptiongetcode()
static String
getCodeByName
(String name) 通过国家获得二级编码getName()
static String
通过code获得国家void
void
static Country
Returns the enum constant of this class with the specified name.static Country[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AD
-
AE
-
AF
-
AG
-
AI
-
AL
-
AM
-
AN
-
AO
-
AQ
-
AR
-
AS
-
AT
-
AU
-
AW
-
AX
-
AZ
-
BA
-
BB
-
BD
-
BE
-
BF
-
BG
-
BH
-
BI
-
BJ
-
BL
-
BM
-
BN
-
BO
-
BQ
-
BR
-
BS
-
BT
-
BV
-
BW
-
BY
-
BZ
-
CA
-
CC
-
CD
-
CF
-
CG
-
CH
-
CI
-
CK
-
CL
-
CM
-
CN
-
CO
-
CR
-
CS
-
CU
-
CV
-
CW
-
CX
-
CY
-
CZ
-
DE
-
DJ
-
DK
-
DM
-
DO
-
DZ
-
EC
-
EE
-
EG
-
EH
-
ER
-
ES
-
ET
-
FI
-
FJ
-
FK
-
FM
-
FO
-
FR
-
GA
-
GB
-
GD
-
GE
-
GF
-
GG
-
GH
-
GI
-
GL
-
GM
-
GN
-
GP
-
GQ
-
GR
-
GS
-
GT
-
GU
-
GW
-
GY
-
HK
-
HM
-
HN
-
HR
-
HT
-
HU
-
ID
-
IE
-
IL
-
IM
-
IN
-
IO
-
IQ
-
IR
-
IS
-
IT
-
JE
-
JM
-
JO
-
JP
-
KE
-
KG
-
KH
-
KI
-
KM
-
KN
-
KP
-
KR
-
KW
-
KY
-
KZ
-
LA
-
LB
-
LC
-
LI
-
LK
-
LR
-
LS
-
LT
-
LU
-
LV
-
LY
-
MA
-
MC
-
MD
-
ME
-
MF
-
MG
-
MH
-
MK
-
ML
-
MM
-
MN
-
MO
-
MP
-
MQ
-
MR
-
MS
-
MT
-
MU
-
MV
-
MW
-
MX
-
MY
-
MZ
-
NA
-
NC
-
NE
-
NF
-
NG
-
NI
-
NL
-
NO
-
NP
-
NR
-
NU
-
NZ
-
OM
-
PA
-
PE
-
PF
-
PG
-
PH
-
PK
-
PL
-
PM
-
PN
-
PR
-
PS
-
PT
-
PW
-
PY
-
QA
-
RE
-
RO
-
RU
-
RS
-
RW
-
SA
-
SB
-
SC
-
SD
-
SE
-
SG
-
SH
-
SI
-
SJ
-
SK
-
SL
-
SM
-
SN
-
SO
-
SR
-
SS
-
ST
-
SV
-
SX
-
SY
-
SZ
-
TC
-
TD
-
TF
-
TG
-
TH
-
TJ
-
TK
-
TL
-
TM
-
TN
-
TO
-
TR
-
TT
-
TV
-
TW
-
TZ
-
UA
-
UG
-
UM
-
US
-
UY
-
UZ
-
VA
-
VC
-
VE
-
VG
-
VI
-
VN
-
VU
-
WF
-
WS
-
YE
-
YT
-
ZA
-
ZM
-
ZW
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
通过code获得国家 -
getCodeByName
通过国家获得二级编码 -
getName
-
setName
-
getcode
-
setcode
-