예제 #1
0
 private void doGet(String key) {
   try {
     Storeable value = currTable.get(key);
     if (value == null) {
       System.out.println("not found");
     } else {
       System.out.println("found");
       System.out.println(prov.serialize(currTable, value));
     }
   } catch (IllegalArgumentException e) {
     System.out.println(e.getMessage());
   }
 }