Enum Class UsState
- All Implemented Interfaces:
Serializable
,Comparable<UsState>
,Constable
An enumeration of US States.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAlabama.Alaska.Arizona.Arkansas.California.Colorado.Connecticut.Delaware.Florida.Georgia.Hawaii.Idaho.Illinois.Indiana.Iowa.Kansas.Kentucky.Louisiana.Maine.Maryland.Massachusetts.Michigan.Minnesota.Mississippi.Missouri.Montana.Nebraska.Nevada.New Hampshire.New Jersey.New Mexico.New York.North Carolina.North Dakota.Ohio.Oklahoma.Oregon.Pennsylvania.Rhode Island.South Carolina.South Dakota.Tennessee.Texas.Utah.Vermont.Virginia.Washington.West Virginia.Wisconsin.Wyoming. -
Method Summary
-
Enum Constant Details
-
ALABAMA
Alabama. -
ALASKA
Alaska. -
ARIZONA
Arizona. -
ARKANSAS
Arkansas. -
CALIFORNIA
California. -
COLORADO
Colorado. -
CONNECTICUT
Connecticut. -
DELAWARE
Delaware. -
FLORIDA
Florida. -
GEORGIA
Georgia. -
HAWAII
Hawaii. -
IDAHO
Idaho. -
ILLINOIS
Illinois. -
INDIANA
Indiana. -
IOWA
Iowa. -
KANSAS
Kansas. -
KENTUCKY
Kentucky. -
LOUISIANA
Louisiana. -
MAINE
Maine. -
MARYLAND
Maryland. -
MASSACHUSETTS
Massachusetts. -
MICHIGAN
Michigan. -
MINNESOTA
Minnesota. -
MISSISSIPPI
Mississippi. -
MISSOURI
Missouri. -
MONTANA
Montana. -
NEBRASKA
Nebraska. -
NEVADA
Nevada. -
NEW_HAMPSHIRE
New Hampshire. -
NEW_JERSEY
New Jersey. -
NEW_MEXICO
New Mexico. -
NEW_YORK
New York. -
NORTH_CAROLINA
North Carolina. -
NORTH_DAKOTA
North Dakota. -
OHIO
Ohio. -
OKLAHOMA
Oklahoma. -
OREGON
Oregon. -
PENNSYLVANIA
Pennsylvania. -
RHODE_ISLAND
Rhode Island. -
SOUTH_CAROLINA
South Carolina. -
SOUTH_DAKOTA
South Dakota. -
TENNESSEE
Tennessee. -
TEXAS
Texas. -
UTAH
Utah. -
VERMONT
Vermont. -
VIRGINIA
Virginia. -
WASHINGTON
Washington. -
WEST_VIRGINIA
West Virginia. -
WISCONSIN
Wisconsin. -
WYOMING
Wyoming.
-
-
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
-
toString
-