@@ -0,0 +1,674 @@
+%0A%0Aimport acm.util.*;%0Aimport java.io.*;%0Aimport java.util.*;%0A%0Apublic class Opponent %7B%0A%09private Map %3CString, Elite%3E challengers = new HashMap%3CString,Elite%3E ();%0A%09%0A%09public Opponent(String filename2)%7B%0A%09%09try %7B%0A%09%09%09BufferedReader rd = new BufferedReader(new FileReader(filename2));%0A%09%09%09while (true) %7B%0A%09%09%09%09String line = rd.readLine();%0A%09%09%09%09if (line == null) break;%0A%09%09%09%09Elite entry = new Elite(line);%0A%09%09%09%09challengers.put(entry.getName(), entry);%0A%09%09%09%7D%0A%09%09%09rd.close();%0A%09%09%09%7D catch(IOException ex) %7B%0A%09%09%09%09throw new ErrorException(ex);%0A%09%09%09%7D%0A%09%0A%09%7D%0A%09%0A%09public Elite findEntry(String name) %7B%0A%09%09if (challengers.containsKey(name))%7B%0A%09%09%09return challengers.get(name);%0A%09%09%7D else %7B%0A%09%09%09return null;%0A%09%09%7D%0A%09%7D%0A%7D%0A

Create Opponent.java