| # | Line 9 | Line 9 | public class XMLPacket { | |
|---|---|---|
| 9 | // Add a key and value pair to the HashMap. | |
| 10 | public void addParam(String key, String value){ | |
| 11 | params.put(key, value); | |
| 12 | + | |
| 13 | + | // debug by println ;-) |
| 14 | + | // System.out.println("Adding to hash: " + key + " = " + value); |
| 15 | + | // end debug code |
| 16 | } | |
| 17 | ||
| 18 | // Return the value associated with a particular key. | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |