@@ -0,0 +1,1682 @@
+/*%0A   Programmer: Kristoffer Larson%0A   Date: February 23, 2014%0A   %0A   Description: A dictionary using a HashMap to have a key to value access,%0A      just like with a real dictionary. %0A*/%0Aimport java.util.HashMap;%0Aimport java.util.Iterator;%0A%0Apublic class Dictionary %7B%0A   %0A   HashMap%3CString, String%3E diction = new HashMap%3CString, String%3E();%0A   %0A   public Dictionary() %7B%0A      create(); %0A      %0A      System.out.println(diction.get(%22Java%22)); //Gets the contents using key %22Java%22 and prints them%0A      System.out.println(diction.get(%22Scheme%22)); //Gets the contents using key %22Scheme%22 and prints them%0A      %0A      printAll();%0A   %7D//End Constructor%0A   %0A   public void create() %7B //Places values into the HashMap%0A      diction.put(%22Java%22, %22Coffee%22);%0A      diction.put(%22C%22, %22The third letter in the English alphabet%22);%0A      diction.put(%22C#%22, %22A musical note, enharmonic to D-flat%22);%0A      diction.put(%22Python%22, %22A large snake%22);%0A      diction.put(%22Ruby%22, %22A precious gem, red in color%22);%0A      diction.put(%22Scheme%22, %22Verb: To make plans in a devious way%22);%0A      diction.put(%22Assembly%22, %22A group of people gathered together in one place for a common purpose%22);%0A      diction.put(%22Programmer%22, %22A code monkey%22);%0A   %7D//End create%0A   %0A   public void printAll() %7B //Prints all the values of the HashMap as they were stored%0A      System.out.println();%0A      %0A      //Creates an iterator to step through the HashMap%0A      Iterator %3CString%3E it = diction.values().iterator();%0A      while (it.hasNext())%7B%0A         System.out.println(it.next());%0A      %7D//End while%0A   %7D//End printAll%0A   %0A   public static void main(String%5B%5D args) %7B%0A      Dictionary d = new Dictionary();%0A   %7D//End Main%0A%7D//End Class%0A

Create Dictionary.java