Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 20th, 2011  |  syntax: None  |  size: 6.73 KB  |  hits: 47  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. package bal.states;
  2.  
  3. public class Data {
  4.  
  5.         /**
  6.          * @param args
  7.          */
  8.  
  9.         public void arr(String index){
  10.                 String name=null;
  11.                 String abr=null;
  12.                 String hood=null;
  13.                 String bird=null;
  14.                 String tree=null;
  15.                 String capital=null;
  16.                 if(index.equals("1")){name="Alabama"; abr="AL"; hood="1819"; bird="Yellowhammer"; tree="Longleaf Pine"; capital="Montgomery";}
  17.                 if(index.equals("2")){name="Alaska"; abr="AK"; hood="1959"; bird="Willow Ptarmigan"; tree="Sitka Spruce"; capital="Juneau";}
  18.                 if(index.equals("3")){name="Arizona"; abr="AZ"; hood="1912"; bird="Cactus Wren"; tree="Blue Palo Verde"; capital="Phoenix";}
  19.                 if(index.equals("4")){name="Arkansas"; abr="AR"; hood="1836"; bird="Mockingbird"; tree="Pine"; capital="Little Rock";}
  20.                 if(index.equals("5")){name="California"; abr="CA"; hood="1850"; bird="California Valley"; tree="Coast Redwood and Giant Sequoia"; capital="Sacramento";}
  21.                 if(index.equals("6")){name="Colorado"; abr="CO"; hood="1876"; bird="Lark Bunting"; tree="Colorado Blue Spruce"; capital="Denver";}
  22.                 if(index.equals("7")){name="Connecticut"; abr="CT"; hood="1788"; bird="Robin"; tree="White Oak"; capital="Hartford";}
  23.                 if(index.equals("8")){name="Delaware"; abr="DE"; hood="1787"; bird="Blue Hen Chicken"; tree="American Holly"; capital="Dover";}
  24.                 if(index.equals("9")){name="Florida"; abr="FL"; hood="1845"; bird="Mockingbird"; tree="Sabal Palm"; capital="Tallahassee";}
  25.                 if(index.equals("10")){name="Georgia"; abr="GA"; hood="1788"; bird="Brown Thrasher"; tree="Southern Live Oak"; capital="Atlanta";}
  26.                 if(index.equals("11")){name="Hawaii"; abr="HI"; hood="1959"; bird="Nene"; tree="Candlenut Tree"; capital="Honolulu";}
  27.                 if(index.equals("12")){name="Idaho"; abr="ID"; hood="1890"; bird="Mountain Bluebird"; tree="Western White Pine"; capital="Boise";}
  28.                 if(index.equals("13")){name="Illinois"; abr="IL"; hood="1818"; bird="Cardinal"; tree="White Oak"; capital="Springfield";}
  29.                 if(index.equals("14")){name="Indiana"; abr="IN"; hood="1816"; bird="Cardinal"; tree="Tulip tree"; capital="Indianapolis";}
  30.                 if(index.equals("15")){name="Iowa"; abr="IA"; hood="1846"; bird="Eastern Goldfinch"; tree="Bur Oak"; capital="Des Moines";}
  31.                 if(index.equals("16")){name="Kansas"; abr="KS"; hood="1861"; bird="Western Meadowlark"; tree="Eastern Cottonwood"; capital="Topeka";}
  32.                 if(index.equals("17")){name="Kentucky"; abr="KY"; hood="1792"; bird="Cardinal"; tree="Tulip-tree"; capital="Frankfort";}
  33.                 if(index.equals("18")){name="Louisiana"; abr="LA"; hood="1812"; bird="Eastern Brown"; tree="Bald Cypress"; capital="Baton Rouge";}
  34.                 if(index.equals("19")){name="Maine"; abr="ME"; hood="1820"; bird="Chickadee"; tree="Eastern White Pine"; capital="Augusta";}
  35.                 if(index.equals("20")){name="Maryland"; abr="MD"; hood="1788"; bird="Baltimore Oriole"; tree="White Oak"; capital="Annapolis";}
  36.                 if(index.equals("21")){name="Massachusetts"; abr="MA"; hood="1788"; bird="Chickadee"; tree="American Elm"; capital="Boston";}
  37.                 if(index.equals("22")){name="Michigan"; abr="MI"; hood="1837"; bird="Robin"; tree="Eastern White Pine"; capital="Lansing";}
  38.                 if(index.equals("23")){name="Minnesota"; abr="MN"; hood="1858"; bird="Common Loon"; tree="Red Pine"; capital="Saint Paul";}
  39.                 if(index.equals("24")){name="Mississippi"; abr="MS"; hood="1817"; bird="Mockingbird"; tree="Southern Magnolia"; capital="Jackson";}
  40.                 if(index.equals("25")){name="Missouri"; abr="MO"; hood="1821"; bird="Bluebird"; tree="Flowering Dogwood"; capital="Jefferson City";}
  41.                 if(index.equals("26")){name="Montana"; abr="MT"; hood="1889"; bird="Western Meadowlark"; tree="Ponderosa Pine"; capital="Helena";}
  42.                 if(index.equals("27")){name="Nebraska"; abr="NE"; hood="1867"; bird="Western Meadowlark"; tree="Eastern Cottonwood"; capital="Lincoln";}
  43.                 if(index.equals("28")){name="Nevada"; abr="NV"; hood="1864"; bird="Mountain Bluebird"; tree="Single-leaf Pinyon &Bristlecone pine"; capital="Carson City";}
  44.                 if(index.equals("29")){name="New Hampshire"; abr="NH"; hood="1788"; bird="Purple Finch"; tree="American White Birch"; capital="Concord";}
  45.                 if(index.equals("30")){name="New Jersey"; abr="NJ"; hood="1787"; bird="Eastern Goldfinch"; tree="Northern Red Oak"; capital="Trenton";}
  46.                 if(index.equals("31")){name="New Mexico"; abr="NM"; hood="1912"; bird="Roadrunner"; tree="Piñon Pine"; capital="Santa Fe";}
  47.                 if(index.equals("32")){name="New York"; abr="NY"; hood="1788"; bird="Bluebird"; tree="Sugar Maple"; capital="Albany";}
  48.                 if(index.equals("33")){name="North Carolina"; abr="NC"; hood="1789"; bird="Cardinal"; tree="Pine"; capital="Raleigh";}
  49.                 if(index.equals("34")){name="North Dakota"; abr="ND"; hood="1889"; bird="Western Meadowlark"; tree="American Elm"; capital="Bismarck";}
  50.                 if(index.equals("35")){name="Ohio"; abr="OH"; hood="1803"; bird="Cardinal"; tree="Ohio Buckeye"; capital="Columbus";}
  51.                 if(index.equals("36")){name="Oklahoma"; abr="OK"; hood="1907"; bird="Scissor"; tree="Eastern Redbud"; capital="Oklahoma City";}
  52.                 if(index.equals("37")){name="Oregon"; abr="OR"; hood="1859"; bird="Western Meadowlark"; tree="Douglas-fir"; capital="Salem";}
  53.                 if(index.equals("38")){name="Pennsylvania"; abr="PA"; hood="1787"; bird="Ruffed Grouse"; tree="Eastern Hemlock"; capital="Harrisburg";}
  54.                 if(index.equals("39")){name="Rhode Island"; abr="RI"; hood="1790"; bird="Rhode Island"; tree="Red Maple"; capital="Providence";}
  55.                 if(index.equals("40")){name="South Carolina"; abr="SC"; hood="1788"; bird="Great Carolina"; tree="Sabal Palm"; capital="Columbia";}
  56.                 if(index.equals("41")){name="South Dakota"; abr="SD"; hood="1889"; bird="Ring-necked Pheasant"; tree="Black Hills Spruce"; capital="Pierre";}
  57.                 if(index.equals("42")){name="Tennessee"; abr="TN"; hood="1796"; bird="Mockingbird"; tree="Tulip-tree"; capital="Nashville";}
  58.                 if(index.equals("43")){name="Texas"; abr="TX"; hood="1845"; bird="Mockingbird"; tree="Pecan"; capital="Austin";}
  59.                 if(index.equals("44")){name="Utah"; abr="UT"; hood="1896"; bird="Common American Gull"; tree="Blue Spruce"; capital="Salt Lake City";}
  60.                 if(index.equals("45")){name="Vermont"; abr="VT"; hood="1791"; bird="Hermit Thrush"; tree="Sugar Maple"; capital="Montpelier";}
  61.                 if(index.equals("46")){name="Virginia"; abr="VA"; hood="1788"; bird="Cardinal "; tree="Flowering dogwood"; capital="Richmond";}
  62.                 if(index.equals("47")){name="Washington"; abr="WA"; hood="1889"; bird="Willow Goldfinch"; tree="Western Hemlock"; capital="Olympia";}
  63.                 if(index.equals("48")){name="West Virginia"; abr="WV"; hood="1863"; bird="Cardinal"; tree="Sugar Maple"; capital="Charleston";}
  64.                 if(index.equals("49")){name="Wisconsin"; abr="WI"; hood="1848"; bird="Robin"; tree="Sugar Maple"; capital="Madison";}
  65.                 if(index.equals("50")){name="Wyoming"; abr="WY"; hood="1890"; bird="Western Meadowlark"; tree="Plains Cottonwood"; capital="Cheyenne";}
  66.  
  67.                 State st=new State(name, abr, hood, bird, tree, capital);
  68.         }
  69. }