SHARE
TWEET

Untitled

a guest Apr 25th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public enum State {
  2.  
  3.     AK("Alaska", "Montgomery"),
  4.     AL("Alabama", "Juneau"),
  5.     AR("Arkansas", "Little Rock"),
  6.     AS("American Samoa", "Pago Pago"),
  7.     AZ("Arizona", "Phoenix"),
  8.     CA("California", "Sacramento"),
  9.     CO("Colorado", "Denver"),
  10.     CT("Connecticut", "Hartford"),
  11.     DC("District of Columbia", "Washington"),
  12.     DE("Delaware", "Dover"),
  13.     FL("Florida", "Tallahassee"),
  14.     GA("Georgia", "Atlanta"),
  15.     GU("Guam", "Hagåtña"),
  16.     HI("Hawaii", "Honolulu"),
  17.     IA("Iowa", "Des Moines"),
  18.     ID("Idaho", "Boise"),
  19.     IL("Illinois", "Springfield"),
  20.     IN("Indiana", "Indianapolis"),
  21.     KS("Kansas", "Topeka"),
  22.     KY("Kentucky", "Frankfort"),
  23.     LA("Louisiana", "Baton Rouge"),
  24.     MA("Massachusetts", "Boston"),
  25.     MD("Maryland", "Annapolis"),
  26.     ME("Maine", "Augusta"),
  27.     MI("Michigan", "Lansing"),
  28.     MN("Minnesota", "Saint Paul"),
  29.     MO("Missouri", "Jefferson City"),
  30.     MP("Northern Mariana Islands", "Saipan"),
  31.     MS("Mississippi", "Jackson"),
  32.     MT("Montana", "Helena"),
  33.     NC("North Carolina", "Raleigh"),
  34.     ND("North Dakota", "Bismark"),
  35.     NE("Nebraska", "Lincoln"),
  36.     NH("New Hampshire", "Concord"),
  37.     NJ("New Jersey", "Trenton"),
  38.     NM("New Mexico", "Santa Fe"),
  39.     NV("Nevada", "Carson City"),
  40.     NY("New York", "Albany"),
  41.     OH("Ohio", "Columbus"),
  42.     OK("Oklahoma", "Oklahoma City"),
  43.     OR("Oregon", "Salem"),
  44.     PA("Pennsylvania", "Harrisburg"),
  45.     PR("Puerto Rico", "San Juan"),
  46.     RI("Rhode Island", "Providence"),
  47.     SC("South Carolina", "Columbia"),
  48.     SD("South Dakota", "Pierre"),
  49.     TN("Tennessee", "Nashville"),
  50.     TX("Texas", "Austin"),
  51.     UT("Utah", "Salt Lake City"),
  52.     VA("Virginia", "Richmond"),
  53.     VI("Virgin Islands", "Charlotte Amalie"),
  54.     VT("Vermont", "Montpelier"),
  55.     WA("Washington", "Olympia"),
  56.     WI("Wisconsin", "Madison"),
  57.     WV("West Virginia", "Charleston"),
  58.     WY("Wyoming", "Cheyenne");
  59.  
  60.     private String name;
  61.     private String capital;
  62.  
  63.     State(String name, String capital) {
  64.         this.name = name;
  65.         this.capital = capital;
  66.     }
  67.  
  68.     public String getName() {
  69.         return name;
  70.     }
  71.  
  72.     public String getCapital() {
  73.         return capital;
  74.     }
  75.  
  76. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top